Configure vite with a base URL so proxy works

This commit is contained in:
Andrew Kingston 2021-05-06 17:22:09 +01:00
parent cc18b990e7
commit 5a642071d6
4 changed files with 43 additions and 3037 deletions

View File

@ -6,7 +6,7 @@ import path from "path"
export default ({ mode }) => { export default ({ mode }) => {
const isProduction = mode === "production" const isProduction = mode === "production"
return { return {
base: "/", base: "/app/",
build: { build: {
minify: isProduction, minify: isProduction,
outDir: "../server/builder", outDir: "../server/builder",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff