diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-05-17 00:28:45 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-05-17 00:28:45 +0900 |
| commit | 4c2a3d8df0d1a1fee48b0624b4b5a9a20db0d53e (patch) | |
| tree | 8bbea177b1d374a3a1fa5c7e6f441acde71dba12 /src/web/app/client | |
| parent | Refactoring (diff) | |
| download | sharkey-4c2a3d8df0d1a1fee48b0624b4b5a9a20db0d53e.tar.gz sharkey-4c2a3d8df0d1a1fee48b0624b4b5a9a20db0d53e.tar.bz2 sharkey-4c2a3d8df0d1a1fee48b0624b4b5a9a20db0d53e.zip | |
Compress an assets
Diffstat (limited to 'src/web/app/client')
| -rw-r--r-- | src/web/app/client/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/client/script.js b/src/web/app/client/script.js index 465d3edb38..c069b0ee89 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`); +script.setAttribute('src', `/assets/${app}.${VERSION}.${lang}.js.gz`); script.setAttribute('async', 'true'); script.setAttribute('defer', 'true'); head.appendChild(script); |