Server Configured
This commit is contained in:
@@ -5,11 +5,14 @@ import react from '@vitejs/plugin-react'
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 5175,
|
||||
host: true,
|
||||
port: 5175,
|
||||
allowedHosts: [
|
||||
'cmsadmin.rit-services.in'
|
||||
],
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8080',
|
||||
target: 'https://cmsapi.rit-services.in',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user