diff --git a/moonbit-tour/dev/const.ts b/moonbit-tour/dev/const.ts index 0557d707..cabc1618 100644 --- a/moonbit-tour/dev/const.ts +++ b/moonbit-tour/dev/const.ts @@ -1,3 +1,3 @@ -const BASE = "/moonbit-docs/tour"; +const BASE = ""; export { BASE }; diff --git a/moonbit-tour/index.html b/moonbit-tour/index.html index 4d8382ea..af05d211 100644 --- a/moonbit-tour/index.html +++ b/moonbit-tour/index.html @@ -7,9 +7,7 @@
- MoonBit Language Tour + MoonBit Language Tour MoonBit
%MARKDOWN%
diff --git a/moonbit-tour/vite.config.ts b/moonbit-tour/vite.config.ts index 0fbf3521..8b2db3d8 100644 --- a/moonbit-tour/vite.config.ts +++ b/moonbit-tour/vite.config.ts @@ -6,7 +6,7 @@ import indexPlugin from "./dev/index-plugin"; export default defineConfig({ base: BASE, build: { - outDir: "dist/tour", + outDir: "dist", rollupOptions: { output: { entryFileNames: `assets/[name].js`,