mirror of
https://github.com/axllent/mailpit.git
synced 2026-06-20 00:15:29 +02:00
UI: Set hostname in page meta title to identify Mailpit instance
@see #154
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user