Commit d4d2494
committed
service: Add option to modify listen address
Previously, uvicorn only listened on `0.0.0.0`, which may be a
security risk in some situations.
We add a configuration option to modify the listen address via
the `config.ini` and set the default to `127.0.0.1`1 parent e2b94e9 commit d4d2494
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
0 commit comments