mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Removed donate redirects
This commit is contained in:
parent
c90c879fc0
commit
962581c5e7
2 changed files with 1 additions and 13 deletions
|
@ -30,17 +30,10 @@ const logger = require('../../utils/logger.js')
|
|||
const auth = require('../../middlewares/auth.middleware.js')
|
||||
|
||||
// stuff gotten from server.js
|
||||
let donateURL = ''
|
||||
let publicdirs = []
|
||||
let userDB
|
||||
let nextdir = ''
|
||||
|
||||
try {
|
||||
donateURL = utils.ReadFile('./data/donateURL')
|
||||
} catch (e) {
|
||||
logger.Log('Couldnt read donate URL file!', logger.GetColor('red'))
|
||||
}
|
||||
|
||||
function GetApp() {
|
||||
app.use(
|
||||
bodyParser.urlencoded({
|
||||
|
@ -67,7 +60,6 @@ function GetApp() {
|
|||
'/favicon.ico',
|
||||
'/getVeteranPw',
|
||||
'/moodle-test-userscript/stable.user.js',
|
||||
'/donate',
|
||||
'/irc',
|
||||
],
|
||||
})
|
||||
|
@ -130,10 +122,6 @@ function GetApp() {
|
|||
from: '/lred',
|
||||
to: '/allQuestions.html',
|
||||
},
|
||||
{
|
||||
from: '/donate',
|
||||
to: donateURL,
|
||||
},
|
||||
{
|
||||
// to be backwards compatible
|
||||
from: '/legacy',
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit ebad81a75ec4bb43d918136adf1724d25f3f91a9
|
||||
Subproject commit e21f281dc5301020de8c7f9dfe654281e36e9e5d
|
Loading…
Add table
Add a link
Reference in a new issue