mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
chore(portal): Fix static files (#3974)
Fixes issues with static files returning 404s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
defmodule API do
|
||||
def static_paths, do: ~w(assets fonts images)
|
||||
def static_paths, do: ~w(assets fonts images robots.txt)
|
||||
|
||||
def router do
|
||||
quote do
|
||||
|
||||
@@ -18,7 +18,7 @@ defmodule Web do
|
||||
"""
|
||||
|
||||
def static_paths,
|
||||
do: ~w(assets fonts images .well-known)
|
||||
do: ~w(assets fonts images .well-known site.webmanifest favicon.ico robots.txt)
|
||||
|
||||
def router do
|
||||
quote do
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=client-width, initial-scale=1" />
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="icon" href={~p"/favicon.ico"} sizes="any" />
|
||||
<link rel="icon" href={~p"/images/favicon.svg"} type="image/svg+xml" />
|
||||
<link rel="apple-touch-icon" href={~p"/images/apple-touch-icon.png"} />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
<link rel="manifest" href={~p"/site.webmanifest"} />
|
||||
<meta name="theme-color" content="#331700" />
|
||||
<meta name="csrf-token" content={get_csrf_token()} />
|
||||
<.live_title suffix=" · Firezone">
|
||||
|
||||
Reference in New Issue
Block a user