mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 03:07:38 +02:00
Fixed some bugs caused by removing things
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
const startHTTPS = false;
|
||||
const siteUrl = "https://qmining.tk"; // http(s)//asd.basd
|
||||
const ircURL = "https://kiwiirc.com/nextclient/irc.sub.fm/#qmining";
|
||||
|
||||
const express = require('express');
|
||||
const bodyParser = require('body-parser');
|
||||
@@ -38,7 +39,6 @@ const recivedFiles = "public/recivedfiles";
|
||||
const uloadFiles = "public/f";
|
||||
const staticFile = "public/data/static";
|
||||
const dataFile = "public/data.json";
|
||||
const countFile = "public/data/count";
|
||||
const manFile = "public/man.html";
|
||||
const simpOutFile = "public/simplified";
|
||||
const inputFile = "stats/inputs";
|
||||
@@ -173,6 +173,11 @@ app.get('/menuClick', function(req, res) {
|
||||
res.end();
|
||||
});
|
||||
|
||||
app.get('/irc', function(req, res) {
|
||||
res.redirect(ircURL);
|
||||
res.end();
|
||||
});
|
||||
|
||||
app.get('/scriptgit', function(req, res) {
|
||||
res.redirect("https://gitlab.com/YourFriendlyNeighborhoodDealer/moodle-test-userscript");
|
||||
res.end();
|
||||
|
||||
Reference in New Issue
Block a user