mirror of
https://github.com/Xevion/grain.git
synced 2025-12-06 01:15:10 -06:00
vercel: switch base path to /
This commit is contained in:
@@ -7,7 +7,7 @@ export default ({mode }) => {
|
|||||||
process.env = {...process.env, ...loadEnv(mode, process.cwd())};
|
process.env = {...process.env, ...loadEnv(mode, process.cwd())};
|
||||||
|
|
||||||
return defineConfig({
|
return defineConfig({
|
||||||
base: process.env.NODE_ENV == 'production' ? '/grain/' : '/',
|
base: '/',
|
||||||
plugins: [react(), tsconfigPaths()],
|
plugins: [react(), tsconfigPaths()],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user