availability serf reference;

fix copying last month;
This commit is contained in:
Dobromir Popov
2024-03-28 22:55:35 +02:00
parent a6b7c62768
commit a26dd954c0
11 changed files with 163 additions and 90 deletions

View File

@ -84,6 +84,8 @@ nextApp
next();
});
server.use("/favicon.ico", express.static("styles/favicon_io/favicon.ico"));
// server.use("/robots.txt", express.static("styles/favicon_io/robots.txt"));
// server.use("/sitemap.xml", express.static("styles/favicon_io/sitemap.xml"));
server.get("/last_schedule_json", (req, res) => {
// var data = JSON.parse(fs.readFileSync("./content/sources/march_flat.json", "utf8"));
@ -557,7 +559,7 @@ nextApp
});
//check if ssl is enabled
if (process.env.SSL_ENABLED === "true") {
if (process.env.SSL_ENABLED === "true" || 1 == 1) {
console.log("SSL_ENABLED = true");
// Redirect from http to https
// server.use((req, res, next) => {