diff --git a/src/renderer/entry_offline.html b/src/renderer/entry_offline.html index 9e1ba92f9..614a5eb48 100644 --- a/src/renderer/entry_offline.html +++ b/src/renderer/entry_offline.html @@ -55,6 +55,13 @@ diff --git a/src/renderer/src/require.js b/src/renderer/src/require.js index c1703c533..9239e5d85 100644 --- a/src/renderer/src/require.js +++ b/src/renderer/src/require.js @@ -40,6 +40,7 @@ const filbert = parser; import util from './src/sources/util'; const Util = util; +//TODO 2018년 11월 배포시 삭제 필수 $.get = function(url, data, callback, type){ if ( $.isFunction(data) ){ type = type || callback, diff --git a/src/renderer/src/static.js b/src/renderer/src/static.js index 4450f9bec..50f1a0479 100644 --- a/src/renderer/src/static.js +++ b/src/renderer/src/static.js @@ -37,6 +37,8 @@ EntryStatic.getName = function(str, type) { } }; +EntryStatic.baseUrl = sharedObject && `${sharedObject.hostProtocol}//${sharedObject.hostURI}`; + // for server node js code if (typeof exports == 'object') { exports.blockInfo = EntryStatic.blockInfo;