Skip to content

Commit

Permalink
[BUGFIX] fix felayout conf to work with subpages
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed May 5, 2017
1 parent baaa225 commit 33389a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions felayout_t3kit/grunt/browserSync.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const css = (file) => `<link rel="stylesheet" type="text/css" href="${file}"/>`
const js = (file) => `<script src="${file}"></script>`
const css = (file) => `<link rel="stylesheet" type="text/css" href="/${file}"/>`
const js = (file) => `<script src="/${file}"></script>`
const conf = require('../conf')

module.exports = {
Expand All @@ -13,6 +13,7 @@ module.exports = {
watchTask: true,
open: false,
port: 9001,
ghostMode: false,
snippetOptions: {
rule: {
match: /<\/head>/i,
Expand Down

0 comments on commit 33389a6

Please sign in to comment.