fix: add public base path (#1748) (#1775)

This commit is contained in:
Gener 2023-05-30 18:55:23 +08:00 committed by GitHub
parent 7e4d71cf58
commit d205a7683a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ if (process.env.DEV_PROXY_SERVER && process.env.DEV_PROXY_SERVER.length > 0) {
// https://vitejs.dev/config/
export default defineConfig({
base: "./",
plugins: [react()],
server: {
host: "0.0.0.0",