Merge pull request #2607 from spotify/rugvip/noproxy

docs: tweak proxying docs
This commit is contained in:
Patrik Oldsberg
2020-09-25 14:01:30 +02:00
committed by GitHub
+1 -1
View File
@@ -23,7 +23,7 @@ const proxyEnv = useHotMemoize(module, () => createEnv('proxy'));
const service = createServiceBuilder(module)
.loadConfig(configReader)
/** ... other routers ... */
.addRouter('/proxy', await proxy(proxyEnv, '/proxy'));
.addRouter('/proxy', await proxy(proxyEnv));
```
## Configuration