From f3dbc2e03e3edf42bcea5d91cce76beef593ff09 Mon Sep 17 00:00:00 2001 From: liteng <930372551@qq.com> Date: Wed, 1 Aug 2018 21:51:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=B6=E6=9E=84=E4=BF=AE=E6=94=B9=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- ShadowEditor.Web/ShadowEditor.Web.csproj | 754 +++++++++++++++++++++++ ShadowEditor.Web/dist/ShadowEditor.js | 2 +- ShadowEditor.Web/src/Options.js | 2 +- 4 files changed, 757 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 075470bd..08d09661 100644 --- a/.gitignore +++ b/.gitignore @@ -71,4 +71,4 @@ typings/ /ShadowEditor.Web/ShadowEditor.Web.csproj.user /ShadowEditor.Web/Upload/Model /ShadowEditor.Web/Upload/Texture -ShadowEditor.Web/ShadowEditor.code-workspace \ No newline at end of file +/ShadowEditor.code-workspace diff --git a/ShadowEditor.Web/ShadowEditor.Web.csproj b/ShadowEditor.Web/ShadowEditor.Web.csproj index 99e4139a..9e6b1d7b 100644 --- a/ShadowEditor.Web/ShadowEditor.Web.csproj +++ b/ShadowEditor.Web/ShadowEditor.Web.csproj @@ -111,7 +111,743 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -121,7 +857,24 @@ + + + + + + + + + + + + + + + + + Web.config @@ -136,6 +889,7 @@ + diff --git a/ShadowEditor.Web/dist/ShadowEditor.js b/ShadowEditor.Web/dist/ShadowEditor.js index 6a901343..1a24baca 100644 --- a/ShadowEditor.Web/dist/ShadowEditor.js +++ b/ShadowEditor.Web/dist/ShadowEditor.js @@ -49345,7 +49345,7 @@ */ function Options(options) { options = options || {}; - this.server = options.server || 'http://127.0.0.1:1050'; + this.server = options.server || location.origin; } /** diff --git a/ShadowEditor.Web/src/Options.js b/ShadowEditor.Web/src/Options.js index 91b189eb..ff9441a6 100644 --- a/ShadowEditor.Web/src/Options.js +++ b/ShadowEditor.Web/src/Options.js @@ -4,7 +4,7 @@ */ function Options(options) { options = options || {}; - this.server = options.server || 'http://127.0.0.1:1050'; + this.server = options.server || location.origin; } export default Options; \ No newline at end of file