diff --git a/projects/Version.cs b/projects/Version.cs index 34e4dff7..aa83433e 100644 --- a/projects/Version.cs +++ b/projects/Version.cs @@ -1,4 +1,4 @@ using System.Reflection; [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.0.0.609")] \ No newline at end of file +[assembly: AssemblyInformationalVersion("1.0.0.728")] \ No newline at end of file diff --git a/projects/WebMVC/wwwroot/components/shared/update.html b/projects/WebMVC/wwwroot/components/shared/update.html index ee133057..04706351 100644 --- a/projects/WebMVC/wwwroot/components/shared/update.html +++ b/projects/WebMVC/wwwroot/components/shared/update.html @@ -144,7 +144,7 @@ if (vm.data.errors.length === 0) { axios.post(e.target.action, vm.data.model).then(function (response) { if (response.status === 204) { - var url = base + 'index.html?area=' + vm.area + '&entity=' + vm.entity + '&model=' + vm.model; + var url = vm.base + 'index.html?area=' + vm.area + '&entity=' + vm.entity + '&model=' + vm.model; setTimeout(function () { router.push(url); }, 1000); diff --git a/projects/WebMVC/wwwroot/js/config.js b/projects/WebMVC/wwwroot/js/config.js index 153fd95d..46dc5685 100644 --- a/projects/WebMVC/wwwroot/js/config.js +++ b/projects/WebMVC/wwwroot/js/config.js @@ -1,6 +1,6 @@ var config = { debug:window.location.search.indexOf('debug') > -1, - baseUrl: 'http://localhost',//window.location.protocol + '//' + window.location.hostname, - uploadUrl:'http://localhost/IoTCenter/File/Upload', + baseUrl: window.location.protocol + '//' + window.location.hostname, + uploadUrl: window.location.protocol + '//' + window.location.hostname+'/IoTCenter/File/Upload', isMobile: /(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent) }; \ No newline at end of file