From 6ec80cf4103b7c65d5d315762d74444a3b5f2b07 Mon Sep 17 00:00:00 2001 From: Sam Keddy Date: Fri, 4 Mar 2022 14:33:42 -0500 Subject: [PATCH] fixed links to css/js urls this should hopefully make it so the css js files are properly loaded when on the apps site. I also made it so the build file only compiles pixel-editor.js since it was compiling everything in the folder for no reason --- build.js | 2 +- views/index.hbs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.js b/build.js index 410972b..ae416fb 100644 --- a/build.js +++ b/build.js @@ -34,7 +34,7 @@ function copy_logs() { } function render_js(){ - gulp.src('./js/*.js') + gulp.src('./js/pixel-editor.js') .pipe(include({includePaths: [ 'js', '!js/_*.js', diff --git a/views/index.hbs b/views/index.hbs index af4a57e..f2768bd 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -6,7 +6,7 @@ {{title}} - + {{{google-analytics}}} {{{favicons}}} @@ -40,7 +40,7 @@ {{> save-project}} - - {{#reload}}{{/reload}} + + {{#reload}}{{/reload}} \ No newline at end of file