This commit is contained in:
Vaica committed 2026-06-22 12:31:07 +08:00
1 parent 088c48fabe
commit e4aef57047
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ class HugoManager {
this.starting = true;
this.ready = false;
this.process = spawn("hugo", ["server", "--bind", "0.0.0.0", "--port", "1313", "--disableFastRender", "--noHTTPCache"], {
this.process = spawn("hugo", ["server", "--bind", "0.0.0.0", "--port", "1313", "--baseURL", "/preview/", "--disableFastRender", "--noHTTPCache"], {
cwd: BLOG_ROOT,
shell: true,
stdio: "pipe",