Update
This commit is contained in:
parent
02cd64918f
commit
78150c538f
|
@ -1,6 +1,6 @@
|
||||||
let query = window.location.pathname;
|
let query = window.location.pathname;
|
||||||
|
|
||||||
if (query == "/news") {
|
if (query == "/news" || query == "/mastodon") {
|
||||||
let tplUrl = 'json/mastodon-tpl.html';
|
let tplUrl = 'json/mastodon-tpl.html';
|
||||||
let response = await fetch(tplUrl);
|
let response = await fetch(tplUrl);
|
||||||
var tpl = "";
|
var tpl = "";
|
||||||
|
|
|
@ -94,6 +94,10 @@ switch (query) {
|
||||||
bodyFetch(query);
|
bodyFetch(query);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case "/mastodon":
|
||||||
|
bodyFetch(query);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
bodyFetch();
|
bodyFetch();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue