diff --git a/index.html b/index.html index eb47364f..eb8a3598 100644 --- a/index.html +++ b/index.html @@ -121,7 +121,7 @@
Rabu, 15 Maret 2023
+Rabu, 15 Maret 2023
Save The Date diff --git a/js/app.js b/js/app.js index 903f75f7..03c3273a 100644 --- a/js/app.js +++ b/js/app.js @@ -405,7 +405,7 @@ const session = (() => { if (token) { const jwt = JSON.parse(atob(token.split('.')[1])); - if (jwt.exp < ((new Date()).getTime() / 1000)) { + if (jwt.exp < ((new Date()).getTime() / 1000) || jwt.iss !== (new URL(window.location.href)).origin) { await login(); } else { await comment.ucapan(); @@ -506,7 +506,7 @@ const comment = (() => { .replace(/\*([^*]+)\*/g, '$1') .replace(/_([^_]+)_/g, '$1') .replace(/~([^~]+)~/g, '$1'); + .replace(/```([^```]+)```/g, '
$1
');
};
const resetForm = () => {