Add release
This commit is contained in:
parent
50126aa21c
commit
eb6631dd8b
3 changed files with 16 additions and 0 deletions
|
|
@ -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
5
rel/overlays/bin/server
Executable 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
2
rel/overlays/bin/server.bat
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
set PHX_SERVER=true
|
||||||
|
call "%~dp0\birdy_chat" start
|
||||||
Loading…
Add table
Add a link
Reference in a new issue