Merge pull request 'cont.' (#647) from Eeeros/forgeplus-react:gitlink_ssr_head into gitlink_ssr_head
1
This commit is contained in:
commit
79d89e141d
|
@ -28,7 +28,7 @@ const proxy = createProxyMiddleware(options('http://localhost:8081'));
|
|||
// });
|
||||
|
||||
// 设置代理
|
||||
app.use(['/api', '/images', '/system', '/favicon', '/robots.txt', '/sitemap*.xml', '/sitemap*.txt', '/favicon.ico', '/admins'], (req, res) => {
|
||||
app.use(['/api', '/images', '/system', '/favicon', '/robots.txt', '/sitemap*.xml', '/sitemap*.txt', '/favicon.ico', '/admins', '/assets'], (req, res) => {
|
||||
proxy(req, res);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue