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
This commit is contained in:
Sam Keddy 2022-03-04 14:33:42 -05:00
parent 40299853ca
commit 6ec80cf410
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ function copy_logs() {
} }
function render_js(){ function render_js(){
gulp.src('./js/*.js') gulp.src('./js/pixel-editor.js')
.pipe(include({includePaths: [ .pipe(include({includePaths: [
'js', 'js',
'!js/_*.js', '!js/_*.js',

View File

@ -6,7 +6,7 @@
<title>{{title}}</title> <title>{{title}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,900" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,900" rel="stylesheet">
<link rel="stylesheet" href="/pixel-editor.css" /> <link rel="stylesheet" href="pixel-editor.css" />
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"> <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
{{{google-analytics}}} {{{google-analytics}}}
{{{favicons}}} {{{favicons}}}
@ -40,7 +40,7 @@
{{> save-project}} {{> save-project}}
</div> </div>
<script src="/pixel-editor.js"></script> <script src="pixel-editor.js"></script>
{{#reload}}<script src="/reload/reload.js"></script>{{/reload}} {{#reload}}<script src="reload/reload.js"></script>{{/reload}}
</body> </body>
</html> </html>