mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add config options for host binding and port
This commit is contained in:
parent
466a5a932b
commit
8c2ddb0255
2 changed files with 4 additions and 0 deletions
|
@ -5324,4 +5324,6 @@ add_context_storage_type(Preferences)
|
|||
add_context_storage_type(User)
|
||||
|
||||
Kemal.config.logger = logger
|
||||
Kemal.config.host_binding = Kemal.config.host_binding != "0.0.0.0" ? Kemal.config.host_binding : CONFIG.host_binding
|
||||
Kemal.config.port = Kemal.config.port != 3000 ? Kemal.config.port : CONFIG.port
|
||||
Kemal.run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue