update: allow access from any url

This commit is contained in:
Clément 2020-04-03 14:25:32 +02:00
parent 2497b502ad
commit 650c08702f
2 changed files with 339 additions and 510 deletions

845
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
"build:html": "pug src/index.pug -o dist/ --obj config.json", "build:html": "pug src/index.pug -o dist/ --obj config.json",
"copy:font": "copyfiles -f src/fonts/* dist/fonts", "copy:font": "copyfiles -f src/fonts/* dist/fonts",
"copy:image": "copyfiles -f src/images/* dist/images", "copy:image": "copyfiles -f src/images/* dist/images",
"serve": "serve -l 3000 dist/", "serve": "pushstate-server -d ./dist -p 3000",
"watch": "run-p copy:* watch:* serve", "watch": "run-p copy:* watch:* serve",
"watch:css": "npm run build:css && npm run build:css -- -w", "watch:css": "npm run build:css && npm run build:css -- -w",
"watch:js": "babel --watch \"src/scripts/*.js\" -o dist/scripts/index.js", "watch:js": "babel --watch \"src/scripts/*.js\" -o dist/scripts/index.js",
@ -25,6 +25,6 @@
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"pug": "^2.0.4", "pug": "^2.0.4",
"pug-cli": "^1.0.0-alpha6", "pug-cli": "^1.0.0-alpha6",
"serve": "^11.2.0" "pushstate-server": "^3.1.0"
} }
} }