Skip to content

Commit 6ec80cf

Browse files
committed
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
1 parent 4029985 commit 6ec80cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function copy_logs() {
3434
}
3535

3636
function render_js(){
37-
gulp.src('./js/*.js')
37+
gulp.src('./js/pixel-editor.js')
3838
.pipe(include({includePaths: [
3939
'js',
4040
'!js/_*.js',

views/index.hbs

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>{{title}}</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
88
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,900" rel="stylesheet">
9-
<link rel="stylesheet" href="/pixel-editor.css" />
9+
<link rel="stylesheet" href="pixel-editor.css" />
1010
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
1111
{{{google-analytics}}}
1212
{{{favicons}}}
@@ -40,7 +40,7 @@
4040
{{> save-project}}
4141
</div>
4242

43-
<script src="/pixel-editor.js"></script>
44-
{{#reload}}<script src="/reload/reload.js"></script>{{/reload}}
43+
<script src="pixel-editor.js"></script>
44+
{{#reload}}<script src="reload/reload.js"></script>{{/reload}}
4545
</body>
4646
</html>

0 commit comments

Comments
 (0)