diff --git a/public/index.html b/public/index.html index 8acd8f3..3df5340 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,6 @@ - deemix.oat.zone diff --git a/public/index.js b/public/index.js index 276ebdb..4d3b7fd 100644 --- a/public/index.js +++ b/public/index.js @@ -1,3 +1,10 @@ +const h = window.window.location.hostname; +if (!h || h.includes('localhost')) { + window.document.title = 'deemix-web-frontend'; +} else { + window.document.title = window.window.location.hostname +} + function download(url) { console.log(url); fetch(url)