feat: introduce backend url environment variable
ref: N25B-352
This commit is contained in:
@@ -4,6 +4,9 @@ import react from '@vitejs/plugin-react'
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
define: {
|
||||
__VITE_API_BASE_URL__: "import.meta.env.VITE_API_BASE_URL",
|
||||
},
|
||||
css: {
|
||||
modules: {
|
||||
localsConvention: "camelCase",
|
||||
|
||||
Reference in New Issue
Block a user