mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 07:17:17 +00:00
move web server to loopback by default
This commit is contained in:
parent
d548fa02f0
commit
47c4e5bb42
@ -43,5 +43,5 @@ command = rsync --archive --compress --partial --delete
|
||||
chunk_size = 8388608
|
||||
|
||||
[web]
|
||||
host = 0.0.0.0
|
||||
host = 127.0.0.1
|
||||
templates = /usr/share/ahriman
|
@ -39,5 +39,5 @@ def test_run(application: web.Application, mocker: MockerFixture) -> None:
|
||||
run_application_mock = mocker.patch("aiohttp.web.run_app")
|
||||
|
||||
run_server(application)
|
||||
run_application_mock.assert_called_with(application, host="0.0.0.0", port=port,
|
||||
run_application_mock.assert_called_with(application, host="127.0.0.1", port=port,
|
||||
handle_signals=False, access_log=pytest.helpers.anyvar(int))
|
||||
|
@ -26,7 +26,7 @@ target =
|
||||
target =
|
||||
|
||||
[email]
|
||||
host = 0.0.0.0
|
||||
host = 127.0.0.1
|
||||
link_path =
|
||||
no_empty_report = no
|
||||
port = 587
|
||||
@ -54,5 +54,5 @@ region = eu-central-1
|
||||
secret_key =
|
||||
|
||||
[web]
|
||||
host = 0.0.0.0
|
||||
host = 127.0.0.1
|
||||
templates = ../web/templates
|
Loading…
Reference in New Issue
Block a user