add admin setup token i love admin setup token

This commit is contained in:
WaveringAna 2025-01-27 22:32:49 -05:00
parent 660da70666
commit ac13e77dc4
15 changed files with 136 additions and 21 deletions

View file

@ -3,15 +3,12 @@ import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import path from "path"
export default defineConfig({
plugins: [
react(),
tailwindcss(),
],
export default defineConfig(() => ({
plugins: [react(), tailwindcss()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8080',
target: process.env.VITE_API_URL || 'http://localhost:8080',
changeOrigin: true,
},
},
@ -21,5 +18,4 @@ export default defineConfig({
"@": path.resolve(__dirname, "./src"),
},
},
})
}))