Ver a proveniência

Fix a problem about generating an url of notifications (#8758)

master
Genbu Hase há 5 anos
committed by Eugen Rochko
ascendente
cometimento
8b61683f9e
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      app/javascript/mastodon/service_worker/web_push_notifications.js

+ 1
- 1
app/javascript/mastodon/service_worker/web_push_notifications.js Ver ficheiro

@@ -168,7 +168,7 @@ const openUrl = url =>

if (webClients.length !== 0) {
const client = findBestClient(webClients);
const { pathname } = new URL(url);
const { pathname } = new URL(url, self.location);

if (pathname.startsWith('/web/')) {
return client.focus().then(client => client.postMessage({


Carregando…
Cancelar
Guardar