We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c332a commit b278bffCopy full SHA for b278bff
lib/handlers/auth-proxy.mjs
@@ -6,7 +6,7 @@ import debug from '../debug.mjs'
6
import allow from './allow.mjs'
7
8
const PROXY_SETTINGS = {
9
- changeOrigin: true
+ changeOrigin: true // Default settings; target is provided per-proxy via function parameter
10
}
11
const REQUIRED_PERMISSIONS = {
12
get: ['Read'],
lib/handlers/cors-proxy.mjs
@@ -14,7 +14,7 @@ const CORS_SETTINGS = {
14
origin: true
15
16
17
- target: 'http://placeholder',
+ target: 'http://placeholder', // Placeholder required by v3; actual target determined by router function
18
changeOrigin: true,
19
followRedirects: true,
20
proxyTimeout: 10000,
0 commit comments