From 4ea5f61ddfed38deeebaf3f9c2c8cd2b7d6d0574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Tue, 23 Apr 2024 10:13:43 +0800 Subject: [PATCH] cont. --- server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/index.js b/server/index.js index 16d7ad1a..ad069fce 100644 --- a/server/index.js +++ b/server/index.js @@ -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); });