Changeset View
Changeset View
Standalone View
Standalone View
lib/lsg_web/endpoint.ex
defmodule NolaWeb.Endpoint do | defmodule NolaWeb.Endpoint do | ||||
use Sentry.PlugCapture | use Sentry.PlugCapture | ||||
use Phoenix.Endpoint, otp_app: :lsg | use Phoenix.Endpoint, otp_app: :nola | ||||
# Serve at "/" the static files from "priv/static" directory. | # Serve at "/" the static files from "priv/static" directory. | ||||
# | # | ||||
# You should set gzip to true if you are running phoenix.digest | # You should set gzip to true if you are running phoenix.digest | ||||
# when deploying your static files in production. | # when deploying your static files in production. | ||||
plug Plug.Static, | plug Plug.Static, | ||||
at: "/", from: :lsg, gzip: false, | at: "/", from: :nola, gzip: false, | ||||
only: ~w(assets css js fonts images favicon.ico robots.txt) | only: ~w(assets css js fonts images favicon.ico robots.txt) | ||||
# Code reloading can be explicitly enabled under the | # Code reloading can be explicitly enabled under the | ||||
Context not available. | |||||
plug Plug.Head | plug Plug.Head | ||||
@session_options [store: :cookie, | @session_options [store: :cookie, | ||||
key: "_lsg_key", | key: "_nola_key", | ||||
signing_salt: "+p7K3wrj"] | signing_salt: "+p7K3wrj"] | ||||
Context not available. |