Added make scripts, some new tests, install link now points to greasyfork

This commit is contained in:
MrFry 2020-03-22 14:46:20 +01:00
parent 0c5ab62a5c
commit 8ef64e1a54
10 changed files with 277 additions and 12 deletions

View file

@ -18,8 +18,6 @@
------------------------------------------------------------------------- */
let url = ''
const express = require('express')
const bodyParser = require('body-parser')
const busboy = require('connect-busboy')
@ -69,7 +67,7 @@ app.get('/ask', function (req, res) {
const simpleRedirects = [
{
from: '/install',
to: url + '/moodle-test-userscript/stable.user.js?install'
to: 'https://greasyfork.org/en/scripts/38999-moodle-elearning-kmooc-test-help'
},
{
from: '/servergit',
@ -169,8 +167,5 @@ app.post('*', function (req, res) {
})
exports.app = app
exports.setup = (x) => {
url = x.url
}
logger.Log('Qmining module started', logger.GetColor('yellow'))