mirror of
https://github.com/axllent/mailpit.git
synced 2025-03-17 21:18:19 +02:00
UI: Set hostname in page meta title to identify Mailpit instance
@see #154
This commit is contained in:
parent
7875160aa7
commit
bc4b028c39
@ -88,6 +88,10 @@ export default {
|
||||
},
|
||||
|
||||
mounted() {
|
||||
|
||||
let title = document.title + ' - ' + location.hostname
|
||||
document.title = title
|
||||
|
||||
this.currentPath = window.location.hash.slice(1)
|
||||
window.addEventListener('hashchange', () => {
|
||||
this.currentPath = window.location.hash.slice(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user