ServiceWorker: add more backend routes

This commit is contained in:
Alex Gleason 2022-06-29 12:29:51 -05:00
parent 68fa74b3fc
commit 21678897b0
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 6 additions and 0 deletions

View File

@ -95,18 +95,24 @@ module.exports = merge(sharedConfig, {
match: ({ pathname }) => { match: ({ pathname }) => {
const backendRoutes = [ const backendRoutes = [
'/.well-known', '/.well-known',
'/activities',
'/admin', '/admin',
'/api', '/api',
'/auth', '/auth',
'/inbox',
'/instance', '/instance',
'/internal',
'/main/ostatus', '/main/ostatus',
'/manifest.json', '/manifest.json',
'/media', '/media',
'/nodeinfo', '/nodeinfo',
'/oauth', '/oauth',
'/objects',
'/ostatus_subscribe', '/ostatus_subscribe',
'/pghero', '/pghero',
'/pleroma', '/pleroma',
'/proxy',
'/relay',
'/sidekiq', '/sidekiq',
'/socket', '/socket',
'/static', '/static',