diff --git a/api.go b/api.go index 913eee7..8cb1f55 100644 --- a/api.go +++ b/api.go @@ -9,7 +9,7 @@ import ( tea "github.com/charmbracelet/bubbletea" ) -const backendURL = "http://localhost:3131" +const backendURL = "https://nas.arinera.fun:3001" type StepResponse struct { Actions []Action `json:"actions"` diff --git a/backend/main.py b/backend/main.py index 13e725a..f2cf005 100644 --- a/backend/main.py +++ b/backend/main.py @@ -49,7 +49,13 @@ async def get_tools( def main(): - uvicorn.run("main:app", reload=True, port=3131) + uvicorn.run( + "main:app", + reload=True, + port=3131, + ssl_keyfile="certs/cert.key", + ssl_certfile="certs/fullchain.pem", + ) if __name__ == "__main__":