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' };
 | 
					const apiProxy = { target: target, changeOrigin: true, ws: true, rewriteWsOrigin: true, secure: false, cookieDomainRewrite: 'localhost' };
 | 
				
			||||||
let proxy = {
 | 
					let proxy = {
 | 
				
			||||||
  '/root/center/': {
 | 
					  '/root/center/': {
 | 
				
			||||||
    target: `${target}/root/center/`,
 | 
					    target: `${target}`,
 | 
				
			||||||
 | 
					    secure: false,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  '/user/login/': {
 | 
					  '/user/login/': {
 | 
				
			||||||
    target: `${target}/user/login/`,
 | 
					    target: `${target}`,
 | 
				
			||||||
 | 
					    secure: false,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  '/api': apiProxy,
 | 
					  '/api': apiProxy,
 | 
				
			||||||
  '/client': apiProxy,
 | 
					  '/client': apiProxy,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user