diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1c35fb1..50af1bc 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -18,4 +18,6 @@ jobs: with: context: . push: true - tags: code.jamey.stream/jamey/action-requests-demo.jamey.stream:${{ gitea.sha }} + tags: | + code.jamey.stream/jamey/action-requests-demo.jamey.stream:${{ gitea.sha }} + code.jamey.stream/jamey/action-requests-demo.jamey.stream:latest diff --git a/config/prod.exs b/config/prod.exs index 975a68c..fa4c622 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -8,6 +8,13 @@ import Config config :action_requests_demo, ActionRequestsDemoWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json" +# Allow LiveView/WebSocket connections from the deployed host +config :action_requests_demo, ActionRequestsDemoWeb.Endpoint, + check_origin: [ + "https://action-requests-demo.jamey.stream", + "//action-requests-demo.jamey.stream" + ] + # Do not print debug messages in production config :logger, level: :info