Skip to content

Commit 2fba592

Browse files
fix This reverts commit 66abe02.
1 parent a106926 commit 2fba592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/apps/app/server/proxyMiddleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = function proxyMiddlewareFactory({ proxyPort, origin }) {
3737
onProxyRes: responseInterceptor(async (responseBuffer, proxyRes, req, res) => {
3838
const response = responseBuffer.toString('utf8');
3939
let patchedResponse = response;
40-
if (req.url.includes('/oauth2/v1/authorize') ) {
40+
if (req.url.includes('/v1/authorize') ) {
4141
patchedResponse = patchedResponse.replace(
4242
buildRegexForUri(origin),
4343
escapeUri(`http://localhost:${proxyPort}`)

0 commit comments

Comments
 (0)