Skip to content

Commit f136e98

Browse files
committed
refactor: remove duplicate express.json() middleware
1 parent f30eda9 commit f136e98

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,6 @@ app.get("/config", originValidationMiddleware, authMiddleware, (req, res) => {
789789
});
790790

791791
// OAuth Proxy Endpoints - for routing OAuth requests through the proxy to avoid CORS issues
792-
app.use(express.json()); // Ensure JSON body parsing is enabled
793792

794793
/**
795794
* Proxy endpoint for OAuth Authorization Server Metadata Discovery

0 commit comments

Comments
 (0)