Greums commited on
Commit
2c9a4de
·
1 Parent(s): 0f33248

change the base path to fix sub-paths on builds

Browse files
Files changed (1) hide show
  1. vite.config.ts +1 -1
vite.config.ts CHANGED
@@ -4,7 +4,7 @@ import preact from '@preact/preset-vite';
4
 
5
  // https://vitejs.dev/config/
6
  export default defineConfig({
7
- base: "",
8
  plugins: [
9
  // patchCssModules(),
10
  preact({ // I had to disable HMR due to un Vite bug (@see https://github.com/privatenumber/vite-css-modules)
 
4
 
5
  // https://vitejs.dev/config/
6
  export default defineConfig({
7
+ base: "/",
8
  plugins: [
9
  // patchCssModules(),
10
  preact({ // I had to disable HMR due to un Vite bug (@see https://github.com/privatenumber/vite-css-modules)