fix: harden stelloauth oauth worker
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
diff --git a/bin/cloakserve b/bin/cloakserve
|
||||
index 0e545b2..04354aa 100755
|
||||
--- a/bin/cloakserve
|
||||
+++ b/bin/cloakserve
|
||||
@@ -903,8 +903,7 @@ def main() -> None:
|
||||
port,
|
||||
)
|
||||
|
||||
- in_container = os.path.exists("/.dockerenv") or os.path.exists("/run/.containerenv")
|
||||
- host = "0.0.0.0" if in_container else "127.0.0.1"
|
||||
+ host = "127.0.0.1"
|
||||
web.run_app(app, host=host, port=port, print=None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user