Merge pull request #2807 from pixelfed/staging

Staging
This commit is contained in:
daniel 2021-06-17 22:44:39 -06:00 committed by GitHub
commit 4f2eb712ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 68 additions and 1 deletions

BIN
public/js/app.js vendored

Binary file not shown.

Binary file not shown.

61
public/offline.html Normal file

File diff suppressed because one or more lines are too long

BIN
public/sw.js vendored Normal file

Binary file not shown.

View file

@ -34,6 +34,12 @@ window.App.boot = function() {
new Vue({ el: '#content'}); new Vue({ el: '#content'});
} }
window.addEventListener("load", () => {
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js");
}
});
window.App.util = { window.App.util = {
compose: { compose: {
post: (function() { post: (function() {