init commit
All checks were successful
Build and Publish / build-release (push) Successful in 4m46s

This commit is contained in:
2026-04-15 15:31:56 -05:00
commit f566d04a04
41 changed files with 2430 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
defmodule ProviderServiceWeb.Endpoint do
use Phoenix.Endpoint, otp_app: :provider_service
@session_options [
store: :cookie,
key: "_provider_service_key",
signing_salt: "somesalt",
same_site: "Lax"
]
plug(Plug.RequestId)
plug(Plug.Telemetry, event_prefix: [:phoenix, :endpoint])
plug(Plug.Parsers,
parsers: [:urlencoded, :multipart, :json],
pass: ["*/*"],
json_decoder: Phoenix.json_library()
)
plug(Plug.MethodOverride)
plug(Plug.Head)
plug(Plug.Session, @session_options)
plug(CORSPlug, origin: ["http://localhost:3000"])
plug(ProviderServiceWeb.Router)
end