From 39a55c4f84a44f8ee45c9f57d1280a83436eaf1d Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sat, 23 Apr 2022 11:33:00 +0800 Subject: [PATCH] Refactor: update index.html template --- Build/build-index.html.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Build/build-index.html.js b/Build/build-index.html.js index a97a2e2d..2e65aa15 100644 --- a/Build/build-index.html.js +++ b/Build/build-index.html.js @@ -20,8 +20,6 @@ const rootPath = path.resolve(__dirname, '../'); * @returns {string} */ function template(urlList) { - const date = new Date(); - return ` @@ -34,7 +32,6 @@ function template(urlList) { - @@ -43,19 +40,17 @@ function template(urlList) { - +

Sukka Surge Ruleset Server

Made by Sukka | Source @ GitHub | Licensed under AGPL-3.0

-

Last Updated: ${date.toISOString()}

+

Last Updated: ${new Date().toISOString()}