mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 23:37:18 +00:00
move web server to loopback by default
This commit is contained in:
parent
50af309c80
commit
db52b8e844
@ -43,5 +43,5 @@ command = rsync --archive --compress --partial --delete
|
|||||||
chunk_size = 8388608
|
chunk_size = 8388608
|
||||||
|
|
||||||
[web]
|
[web]
|
||||||
host = 0.0.0.0
|
host = 127.0.0.1
|
||||||
templates = /usr/share/ahriman
|
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_application_mock = mocker.patch("aiohttp.web.run_app")
|
||||||
|
|
||||||
run_server(application)
|
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))
|
handle_signals=False, access_log=pytest.helpers.anyvar(int))
|
||||||
|
@ -26,7 +26,7 @@ target =
|
|||||||
target =
|
target =
|
||||||
|
|
||||||
[email]
|
[email]
|
||||||
host = 0.0.0.0
|
host = 127.0.0.1
|
||||||
link_path =
|
link_path =
|
||||||
no_empty_report = no
|
no_empty_report = no
|
||||||
port = 587
|
port = 587
|
||||||
@ -54,5 +54,5 @@ region = eu-central-1
|
|||||||
secret_key =
|
secret_key =
|
||||||
|
|
||||||
[web]
|
[web]
|
||||||
host = 0.0.0.0
|
host = 127.0.0.1
|
||||||
templates = ../web/templates
|
templates = ../web/templates
|
Loading…
Reference in New Issue
Block a user