From 2d485730f0b221f5c1e8facaab8fc509c67bc99f Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 17 May 2017 00:36:04 +0900 Subject: Revert "Compress an assets" This reverts commit 4c2a3d8df0d1a1fee48b0624b4b5a9a20db0d53e. --- src/web/app/auth/view.pug | 2 +- src/web/app/client/script.js | 2 +- src/web/app/dev/view.pug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/web/app') 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) -- cgit v1.2.3-freya