mirror of
https://github.com/Kizuren/statusPage.git
synced 2026-01-06 06:29:14 +01:00
Removed liquidjs dependency.
This commit is contained in:
parent
84e85f0e85
commit
d9fa4e63e0
4 changed files with 3 additions and 41 deletions
|
|
@ -1,9 +1,5 @@
|
|||
const engine = new liquidjs.Liquid();
|
||||
document.addEventListener("DOMContentLoaded", async () => {
|
||||
let $main = document.querySelector('main');
|
||||
const templateLiquid = document.querySelector("template#site").innerHTML;
|
||||
const template = await engine.parse(templateLiquid);
|
||||
|
||||
const refreshStatus = async () => {
|
||||
try {
|
||||
const response = await fetch('/status.json');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue