#309 and some cleanups

This commit is contained in:
syuilo 2017-03-22 16:19:32 +09:00
parent 5306bb518d
commit b646877e8b
49 changed files with 44 additions and 1859 deletions

View file

@ -15,7 +15,7 @@
*/
function mountDesktop() {
const script = document.createElement('script');
script.setAttribute('src', `/resources/desktop/script.${VERSION}.js`);
script.setAttribute('src', `/assets/desktop/script.${VERSION}.js`);
script.setAttribute('async', 'true');
script.setAttribute('defer', 'true');
head.appendChild(script);
@ -31,7 +31,7 @@
head.appendChild(meta);
const script = document.createElement('script');
script.setAttribute('src', `/resources/mobile/script.${VERSION}.js`);
script.setAttribute('src', `/assets/mobile/script.${VERSION}.js`);
script.setAttribute('async', 'true');
script.setAttribute('defer', 'true');
head.appendChild(script);

View file

@ -2,4 +2,4 @@ extends ../base
block head
script
include ./../../../../built/web/resources/client/script.js
include ./../../../../built/web/assets/client/script.js