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 f30b52e283
commit c3ea022f8b
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