From 595bdd908b6769e2b6f59084fe673175973b9253 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Fri, 3 Feb 2023 16:45:38 +0800 Subject: [PATCH] Chore: update npm script server and change FixIt RC version --- layouts/partials/init/index.html | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 2d6c7a13..efe87922 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.2.17" -}} +{{- .Scratch.Set "version" "v0.2.18-RC" -}} {{- .Scratch.Set "params" (.Params | merge .Site.Params.page) -}} {{- .Scratch.Set "this" dict -}} diff --git a/package.json b/package.json index 638c5a3d..b848d91c 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "babel": "npx babel src/js/theme.js -o assets/js/theme.min.js -s", "build": "npm run babel && hugo -v --source=docs --gc --minify", "build:lunr.segmentit": "browserify src/lib/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env --presets minify", - "server": "hugo server --source=docs -D --disableFastRender --navigateToChanged --ignoreCache", - "server:production": "npm run server -- -e production", + "server": "hugo server --source=docs -D --disableFastRender --navigateToChanged --ignoreCache --bind 0.0.0.0", + "server:production": "npm run server -- -e production --bind 0.0.0.0", "start": "npm run babel && npm run server", "start:production": "npm run babel && npm run server:production", "algolia": "atomic-algolia",