generated from template/astro-template
	fix: config
This commit is contained in:
		@@ -16,10 +16,12 @@ let target = process.env.VITE_API_URL || 'https://localhost:51015';
 | 
			
		||||
const apiProxy = { target: target, changeOrigin: true, ws: true, rewriteWsOrigin: true, secure: false, cookieDomainRewrite: 'localhost' };
 | 
			
		||||
let proxy = {
 | 
			
		||||
  '/root/center/': {
 | 
			
		||||
    target: `${target}/root/center/`,
 | 
			
		||||
    target: `${target}`,
 | 
			
		||||
    secure: false,
 | 
			
		||||
  },
 | 
			
		||||
  '/user/login/': {
 | 
			
		||||
    target: `${target}/user/login/`,
 | 
			
		||||
    target: `${target}`,
 | 
			
		||||
    secure: false,
 | 
			
		||||
  },
 | 
			
		||||
  '/api': apiProxy,
 | 
			
		||||
  '/client': apiProxy,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user