replace flask and gunicorn with quart and uvicorn
1 file changed, 4 insertions(+), 3 deletions(-)
changed files
M flake.nix → flake.nix
@@ -244,9 +244,10 @@ }; serviceConfig = { ExecStart = '' - ${cfg.venv}/bin/gunicorn \ - --bind ${cfg.host}:${toString cfg.port} \ - --workers 1 \ + ${cfg.venv}/bin/uvicorn \ + --host ${cfg.host} \ + --port ${toString cfg.port} \ + --ws none \ mycal:app ''; Restart = "on-failure";