diff options
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -287,7 +287,7 @@ a.plainTitle = a.title.replace(/<[^>]+>/g, ''); }); const ARTICLE_INDEX = Object.fromEntries(ARTICLES.map(a => [a.slug, a])); - const HOST = 'fun.tylerhoang.xyz'; + const HOST = 'trainytrain.xyz'; const browserHistory = { stack: [], idx: -1 }; function fmtDate(iso) { @@ -352,8 +352,8 @@ const isArt = /^\/articles\/[a-z0-9-]+$/.test(path); const slug = isArt ? path.split('/').pop() : null; const titleTxt = isArt && ARTICLE_INDEX[slug] - ? `${ARTICLE_INDEX[slug].plainTitle} — fun.tylerhoang.xyz` - : 'Notes — fun.tylerhoang.xyz'; + ? `${ARTICLE_INDEX[slug].plainTitle} — trainytrain.xyz` + : 'Notes — trainytrain.xyz'; document.getElementById('br-title').textContent = titleTxt; document.querySelectorAll('.browser-bookmarks .bm').forEach(bm => { bm.classList.toggle('active', bm.dataset.go === path); @@ -366,7 +366,7 @@ const page = document.getElementById('br-page'); const status = document.getElementById('br-status'); const progress = document.getElementById('br-progress'); - status.textContent = `Contacting fun.tylerhoang.xyz…`; + status.textContent = `Contacting trainytrain.xyz…`; progress.style.display = 'block'; progress.querySelector('.progress-bar').style.width = '20%'; setTimeout(() => { |
