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(){
gulp.src('./js/*.js')
gulp.src('./js/pixel-editor.js')
.pipe(include({includePaths: [
'js',
'!js/_*.js',

View File

@ -6,7 +6,7 @@
<title>{{title}}</title>
<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 rel="stylesheet" href="/pixel-editor.css" />
<link rel="stylesheet" href="pixel-editor.css" />
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
{{{google-analytics}}}
{{{favicons}}}
@ -40,7 +40,7 @@
{{> save-project}}
</div>
<script src="/pixel-editor.js"></script>
{{#reload}}<script src="/reload/reload.js"></script>{{/reload}}
<script src="pixel-editor.js"></script>
{{#reload}}<script src="reload/reload.js"></script>{{/reload}}
</body>
</html>