diff options
author | lain <lain@soykaf.club> | 2019-02-21 09:04:35 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-02-21 09:04:35 +0100 |
commit | 553ce57d42189935171854363a16e6d1c825dafd (patch) | |
tree | a79162386a7326d4c888f9bc70e51caea22fffc3 /priv/static/sw-pleroma.js | |
parent | 1f85c9c9c7c2abe32604d983d6650ff11aac6e7d (diff) | |
download | pleroma-553ce57d42189935171854363a16e6d1c825dafd.tar.gz pleroma-553ce57d42189935171854363a16e6d1c825dafd.zip |
update frontend
Diffstat (limited to 'priv/static/sw-pleroma.js')
-rw-r--r-- | priv/static/sw-pleroma.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/static/sw-pleroma.js b/priv/static/sw-pleroma.js index 8d6d657d4..7be2a8efc 100644 --- a/priv/static/sw-pleroma.js +++ b/priv/static/sw-pleroma.js @@ -1,4 +1,4 @@ -var serviceWorkerOption = {"assets":["/static/img/nsfw.74818f9.png","/static/js/manifest.f00ab54db04706aab2c9.js","/static/js/vendor.5173dfeead1ded3d1f46.js","/static/js/app.0e4952ec8d775da840f1.js","/static/css/app.d75cda10f04aeefec7b657f8244070e9.css"]}; +var serviceWorkerOption = {"assets":["/static/img/nsfw.74818f9.png","/static/js/manifest.7bce4ebd4510d2c5e6d8.js","/static/js/vendor.2a9228e5bcaf054e8060.js","/static/js/app.2a6f16b7ee4b2642dacc.js","/static/css/app.f8cd72107c472bb05fac426b53ec499b.css"]}; !function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var t={};return n.m=e,n.c=t,n.p="/",n(0)}([function(e,n,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return u.default.getItem("vuex-lz").then(function(e){return e.config.webPushNotifications})}function i(){return clients.matchAll({includeUncontrolled:!0}).then(function(e){return e.filter(function(e){var n=e.type;return"window"===n})})}var a=t(1),u=r(a);self.addEventListener("push",function(e){e.data&&e.waitUntil(o().then(function(n){return n&&i().then(function(n){var t=e.data.json();if(0===n.length)return self.registration.showNotification(t.title,t)})}))}),self.addEventListener("notificationclick",function(e){e.notification.close(),e.waitUntil(i().then(function(e){for(var n=0;n<e.length;n++){var t=e[n];if("/"===t.url&&"focus"in t)return t.focus()}if(clients.openWindow)return clients.openWindow("/")}))})},function(e,n){/*! localForage -- Offline Storage, Improved |