mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Fixed some bugs caused by removing things
This commit is contained in:
parent
e3b4c5f518
commit
fe713b18b4
4 changed files with 8 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue