diff options
Diffstat (limited to 'frontend/vite.config.ts')
| -rw-r--r-- | frontend/vite.config.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 3c2c9bd..aa41236 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | import { defineConfig } from 'vite' | 1 | import { defineConfig } from 'vite' |
| 2 | import react from '@vitejs/plugin-react' | 2 | import react from '@vitejs/plugin-react' |
| 3 | import tailwindcss from '@tailwindcss/vite' | ||
| 3 | import path from 'path' | 4 | import path from 'path' |
| 4 | 5 | ||
| 5 | export default defineConfig({ | 6 | export default defineConfig({ |
| 6 | plugins: [react()], | 7 | plugins: [react(), tailwindcss()], |
| 7 | resolve: { | 8 | resolve: { |
| 8 | alias: { | 9 | alias: { |
| 9 | '@api': path.resolve(__dirname, './src/api'), | 10 | '@api': path.resolve(__dirname, './src/api'), |
| @@ -20,7 +21,7 @@ export default defineConfig({ | |||
| 20 | port: 3000, | 21 | port: 3000, |
| 21 | proxy: { | 22 | proxy: { |
| 22 | '/api': { | 23 | '/api': { |
| 23 | target: 'http://localhost:8080', | 24 | target: 'https://lp.pektezol.dev/', |
| 24 | changeOrigin: true, | 25 | changeOrigin: true, |
| 25 | }, | 26 | }, |
| 26 | }, | 27 | }, |