implement server side auth checking,
implement some account server side rendering
This commit is contained in:
@@ -230,10 +230,6 @@ window.addEventListener("DOMContentLoaded", init);
|
||||
|
||||
async function init () {
|
||||
setAppearance();
|
||||
const cookie = document.cookie;
|
||||
if (cookie === "") {
|
||||
goToPage("login.html");
|
||||
}
|
||||
|
||||
wfaInit("modules/wfa.wasm");
|
||||
initInstances();
|
||||
|
Reference in New Issue
Block a user