mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-20 02:25:31 +01:00
Set localhost as default
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
HTTP Host
|
||||
</label>
|
||||
<input type="text" name="http_host" value="${config['http_host']}" size="30">
|
||||
<small>e.g. localhost or an IP, such as 0.0.0.0</small>
|
||||
<small>Use 0.0.0.0 to allow outside connections</small>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label title="Port to bind web server to. Note that ports below 1024 may require root.">
|
||||
|
||||
@@ -99,7 +99,7 @@ _CONFIG_DEFINITIONS = {
|
||||
'HPUSER': (str, 'General', ''),
|
||||
'HTTPS_CERT': (str, 'General', ''),
|
||||
'HTTPS_KEY': (str, 'General', ''),
|
||||
'HTTP_HOST': (str, 'General', '0.0.0.0'),
|
||||
'HTTP_HOST': (str, 'General', 'localhost'),
|
||||
'HTTP_PASSWORD': (str, 'General', ''),
|
||||
'HTTP_PORT': (int, 'General', 8181),
|
||||
'HTTP_PROXY': (int, 'General', 0),
|
||||
|
||||
Reference in New Issue
Block a user