summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-05-17 00:36:04 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-05-17 00:36:04 +0900
commit2d485730f0b221f5c1e8facaab8fc509c67bc99f (patch)
tree0c80a14191c174d850a8021c79ff02b357d63fba /src/web
parentCompress an assets (diff)
downloadsharkey-2d485730f0b221f5c1e8facaab8fc509c67bc99f.tar.gz
sharkey-2d485730f0b221f5c1e8facaab8fc509c67bc99f.tar.bz2
sharkey-2d485730f0b221f5c1e8facaab8fc509c67bc99f.zip
Revert "Compress an assets"
This reverts commit 4c2a3d8df0d1a1fee48b0624b4b5a9a20db0d53e.
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/auth/view.pug2
-rw-r--r--src/web/app/client/script.js2
-rw-r--r--src/web/app/dev/view.pug2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/web/app/auth/view.pug b/src/web/app/auth/view.pug
index 7fc4a2a70d..afa1e408f8 100644
--- a/src/web/app/auth/view.pug
+++ b/src/web/app/auth/view.pug
@@ -2,4 +2,4 @@ extends ../base
block head
meta(name='viewport' content='width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no')
- script(src=`/assets/auth.${version}.ja.js.gz` async defer)
+ script(src=`/assets/auth.${version}.ja.js` async defer)
diff --git a/src/web/app/client/script.js b/src/web/app/client/script.js
index c069b0ee89..465d3edb38 100644
--- a/src/web/app/client/script.js
+++ b/src/web/app/client/script.js
@@ -16,7 +16,7 @@ const app = isMobile ? 'mobile' : 'desktop';
// Load app script
const script = document.createElement('script');
-script.setAttribute('src', `/assets/${app}.${VERSION}.${lang}.js.gz`);
+script.setAttribute('src', `/assets/${app}.${VERSION}.${lang}.js`);
script.setAttribute('async', 'true');
script.setAttribute('defer', 'true');
head.appendChild(script);
diff --git a/src/web/app/dev/view.pug b/src/web/app/dev/view.pug
index 9bba6c11c5..1a9a0e5bbd 100644
--- a/src/web/app/dev/view.pug
+++ b/src/web/app/dev/view.pug
@@ -1,4 +1,4 @@
extends ../base
block head
- script(src=`/assets/dev.${version}.ja.js.gz` async defer)
+ script(src=`/assets/dev.${version}.js` async defer)