[#582] Optimized federation retirement by reducing the number of SQL calls
[akkoma] / lib / pleroma / plugs / instance_static.ex
index 02ee99e0f18ccba0dfd7b3c9479d3992f19c70fb..11f108de74f46ac8f20bfeca839d23476bc88fcd 100644 (file)
@@ -1,5 +1,5 @@
 # Pleroma: A lightweight social networking server
-# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Plugs.InstanceStatic do
@@ -21,7 +21,7 @@ defmodule Pleroma.Plugs.InstanceStatic do
     end
   end
 
-  @only ~w(index.html static emoji packs sounds images instance favicon.png)
+  @only ~w(index.html static emoji packs sounds images instance favicon.png sw.js sw-pleroma.js)
 
   def init(opts) do
     opts