Browse Source

fix: add dummy sw.js

main
Inhji Y. 8 months ago
parent
commit
60c7bcc08b
  1. 0
      assets/static/sw.js
  2. 2
      lib/mirage_web/endpoint.ex

0
assets/static/sw.js

2
lib/mirage_web/endpoint.ex

@ -24,7 +24,7 @@ defmodule MirageWeb.Endpoint do
at: "/",
from: :mirage,
gzip: false,
only: ~w(css fonts images js favicon.ico robots.txt)
only: ~w(css fonts images js favicon.ico robots.txt sw.js)
# Code reloading can be explicitly enabled under the
# :code_reloader configuration of your endpoint.

Loading…
Cancel
Save