cont.
This commit is contained in:
parent
7ebe1392aa
commit
4ea5f61ddf
|
|
@ -25,7 +25,7 @@ const proxy = createProxyMiddleware(options('http://localhost:8081'));
|
|||
// });
|
||||
|
||||
// 设置代理
|
||||
app.use(['/api', '/images', '/system', '/favicon', '/robots.txt', '/sitemap*.xml', '/sitemap*.txt', '/favicon.ico', '/admins', '/assets', '/attachments'], (req, res) => {
|
||||
app.use(['/api', '/images', '/system', '/favicon', '/robots.txt', '/sitemap*.xml', '/sitemap*.txt', '/favicon.ico', '/admins', '/assets', '/attachments', '/oauth'], (req, res) => {
|
||||
proxy(req, res);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue