Announcements are properly implemented (yay)

This commit is contained in:
bingus_violet 2024-05-20 10:45:24 -05:00
parent 8e703ecd3f
commit 312089c58d
4 changed files with 12 additions and 2 deletions

View file

@ -68,6 +68,8 @@
<div id="activityHtml">
{ACTIVITIES}
</div>
{ANNOUNCEMENT}
<h2><hr>Services</h2>
<p>List of services for public use hosted on Violet's Purgatory.</p>
@ -82,6 +84,8 @@
<br>
<h1><hr>FAQ</h1>
{PATH_FAQ}
{SELECTED_VIDEO}
{PATH_STATS}

View file

@ -116,7 +116,7 @@ function socketeer() {
} else if (data.op == 0) {
var discFetch = await (await fetch("/discHTML")).text()
document.querySelector("#activityHtml").innerHTML = discFetch
}else if (data.op == 3) {
} else if (data.op == 3) {
lastPong = Date.now()
} else {
console.log(data)