docs: tweak proxying docs

This commit is contained in:
Patrik Oldsberg
2020-09-25 13:50:50 +02:00
parent c8c4f23c11
commit 7965c098b8
+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