diff options
Diffstat (limited to 'bragi.nix')
-rw-r--r-- | bragi.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -303,7 +303,7 @@ in rec { | |||
303 | , collapse = standardCollapse | 303 | , collapse = standardCollapse |
304 | } | 304 | } |
305 | 305 | ||
306 | wSettings = Warp.setHost "*" . Warp.setPort 8080 $ Warp.defaultSettings | 306 | wSettings = Warp.setHost "localhost" . Warp.setPort 8080 $ Warp.defaultSettings |
307 | ''; | 307 | ''; |
308 | }; | 308 | }; |
309 | 309 | ||
@@ -325,7 +325,7 @@ in rec { | |||
325 | wantedBy = [ "default.target" ]; | 325 | wantedBy = [ "default.target" ]; |
326 | serviceConfig = { | 326 | serviceConfig = { |
327 | Type = "simple"; | 327 | Type = "simple"; |
328 | ExecStart = ''${pkgs.thermoprint-webgui}/bin/thermoprint-webgui -P 80 -A localhost -F thermoprint/api -a "*" -p 8081''; | 328 | ExecStart = ''${pkgs.thermoprint-webgui}/bin/thermoprint-webgui -P 80 -A localhost -F thermoprint/api -a "localhost" -p 8081''; |
329 | User = users.extraUsers."thermoprint".name; | 329 | User = users.extraUsers."thermoprint".name; |
330 | Group = users.extraUsers."thermoprint".group; | 330 | Group = users.extraUsers."thermoprint".group; |
331 | }; | 331 | }; |