diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-17 18:14:40 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-17 18:14:40 +0200 |
| commit | 712deb604be9d608b990c6ba1f9af2560e8f20e3 (patch) | |
| tree | dfa8889be024038eaedcc238cb2892fdcc38f12e /StoneIsland/www/js/sdk/_sdk.js | |
| parent | 76df508468975b9ffdd47373e5a406e21ac8cfdf (diff) | |
confirm error msg better
Diffstat (limited to 'StoneIsland/www/js/sdk/_sdk.js')
| -rwxr-xr-x | StoneIsland/www/js/sdk/_sdk.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/sdk/_sdk.js b/StoneIsland/www/js/sdk/_sdk.js index ef29ff92..aba05ca3 100755 --- a/StoneIsland/www/js/sdk/_sdk.js +++ b/StoneIsland/www/js/sdk/_sdk.js @@ -9,7 +9,7 @@ var sdk = (function(){ sdk.init = function(opt){ switch (sdk.env = opt.env || "development") { case 'test': - endpoint = window.location.origin + "/" + endpoint = ('window' in this ? window.location.origin + "/" : "http://lvh.me:9090/") break default: case 'development': |
