|
@ -329,7 +329,10 @@ export default class App extends Vue { |
|
|
} |
|
|
} |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
if (window.location.host.startsWith("localhost")) { |
|
|
if (window.location.host.startsWith("localhost")) { |
|
|
console.log("Ignoring this error getting VAPID for local development:", error); |
|
|
console.log( |
|
|
|
|
|
"Ignoring this error getting VAPID for local development:", |
|
|
|
|
|
error, |
|
|
|
|
|
); |
|
|
} else { |
|
|
} else { |
|
|
console.error("Got an error initializing notifications:", error); |
|
|
console.error("Got an error initializing notifications:", error); |
|
|
this.$notify( |
|
|
this.$notify( |
|
|