Skip to content

Commit 1777a82

Browse files
committed
Fix serving digests and compresses static files
1 parent 6094355 commit 1777a82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/gitgud_web/lib/gitgud_web/endpoint.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ defmodule GitGud.Web.Endpoint do
1616

1717
plug Plug.Static,
1818
at: "/", from: :gitgud_web, gzip: false,
19-
only: ~w(assets css fonts images js favicon.ico apple-touch-icon.png icon-192.png icon-512.png manifest.webmanifest robots.txt)
19+
only: ~w(assets css fonts images js),
20+
only_matching: ~w(favicon apple-touch-icon icon-192 icon-512 manifest robots)
2021

2122
if code_reloading? do
2223
socket "/phoenix/live_reload/socket", Phoenix.LiveReloader.Socket

0 commit comments

Comments
 (0)