From a2e889c0d153a16be16b17e47c89c7b60e1993ad Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Mon, 5 Jun 2023 16:11:11 +0800 Subject: [PATCH] update scripts --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index fdf0dca..9fb88ff 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "author": "nanxiaobei ", "license": "MIT", "scripts": { - "__FOR_DEV__": "please change all `10.40.1.98` to your local IP", + "__FOR_DEV__": "please change all `192.168.0.102` to your local IP", "dev:tailwind": "pnpm tailwindcss -i ./assets/app.css -o ./assets/main.css --watch", - "dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=10.40.1.98 --bind=10.40.1.98 --port=1313", - "dev:open": "open http://10.40.1.98:1313/", + "dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.0.102 --bind=192.168.0.102 --port=1313", + "dev:open": "open http://192.168.0.102:1313/", "build:go": "cp exampleSite/go.default.mod exampleSite/go.mod", "build:generate": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml", "dev": "killall hugo & pnpm dev:tailwind & pnpm dev:server & pnpm dev:open",