Add release

This commit is contained in:
Maciej 2026-03-01 10:38:47 +02:00
parent 50126aa21c
commit eb6631dd8b
Signed by: maciej
GPG key ID: 28243AF437E32F99
3 changed files with 16 additions and 0 deletions

View file

@ -1,6 +1,15 @@
defmodule BirdyChatWeb.Router do defmodule BirdyChatWeb.Router do
use BirdyChatWeb, :router use BirdyChatWeb, :router
pipeline :browser do
plug :accepts, ["html"]
plug :fetch_session
plug :fetch_live_flash
plug :put_root_layout, html: {BirdyChatWeb.Layouts, :root}
plug :protect_from_forgery
plug :put_secure_browser_headers
end
pipeline :api do pipeline :api do
plug :accepts, ["json"] plug :accepts, ["json"]
end end

5
rel/overlays/bin/server Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
set -eu
cd -P -- "$(dirname -- "$0")"
PHX_SERVER=true exec ./birdy_chat start

2
rel/overlays/bin/server.bat Executable file
View file

@ -0,0 +1,2 @@
set PHX_SERVER=true
call "%~dp0\birdy_chat" start