Dateien nach "frontend/public" hochladen
This commit is contained in:
10
frontend/public/vite.config.js
Normal file
10
frontend/public/vite.config.js
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import { defineConfig } from 'vite'
|
||||||
|
import react from '@vitejs/plugin-react'
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [react()],
|
||||||
|
server: { proxy: { '/api': 'http://localhost:4000' } },
|
||||||
|
define: {
|
||||||
|
__BUILD_TIME__: JSON.stringify(new Date().toISOString()),
|
||||||
|
},
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user