Use relative paths for build (#1094)
authorAjay Bura <32841439+ajbura@users.noreply.github.com>
Mon, 30 Jan 2023 04:20:13 +0000 (15:20 +1100)
committerGitHub <noreply@github.com>
Mon, 30 Jan 2023 04:20:13 +0000 (15:20 +1100)
vite.config.js

index 7ca1baff126880465de42ffe30a791ae9d1bd771..f4f588e5e4344109793e994d4b9ac365a3cd3438 100644 (file)
@@ -28,6 +28,7 @@ const copyFiles = {
 export default defineConfig({
   appType: 'spa',
   publicDir: false,
+  base: "",
   server: {
     port: 8080,
     host: true,