Use RODA server for dashboard proxy

This commit is contained in:
GuavaPopper
2026-06-05 17:04:04 +07:00
parent 1a90411509
commit 1a8130f720
4 changed files with 29 additions and 14 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ function serveRodaDashboardApi() {
configureServer(server) {
server.middlewares.use(async (req, res, next) => {
const requestUrl = new URL(req.url || '/', 'http://localhost');
if (requestUrl.pathname !== '/api/dashboard') {
if (requestUrl.pathname !== '/api/dashboard' && requestUrl.pathname !== '/groups/RODA/api/dashboard') {
next();
return;
}