Added classes git link

This commit is contained in:
MrFry 2019-10-11 12:02:19 +02:00
parent 68c6b2b636
commit e863893ecc
5 changed files with 12 additions and 0 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "public/moodle-test-userscript"]
path = public/moodle-test-userscript
url = git@gitlab.com:MrFry/moodle-test-userscript.git

View file

@ -153,6 +153,12 @@ app.get('/greasy', function (req, res) {
logger.LogReq(req) logger.LogReq(req)
}) })
app.get('/scriptgit', function (req, res) {
res.redirect('https://gitlab.com/MrFry/question-classes')
res.end()
logger.LogReq(req)
})
app.get('/scriptgit', function (req, res) { app.get('/scriptgit', function (req, res) {
res.redirect('https://gitlab.com/MrFry/moodle-test-userscript') res.redirect('https://gitlab.com/MrFry/moodle-test-userscript')
res.end() res.end()

@ -0,0 +1 @@
Subproject commit cd874374630d9bbff4b9941b293ccec7899727d9

View file

@ -272,6 +272,7 @@ function ProcessIncomingRequest (data) {
logger.Log('\t' + d.subj) logger.Log('\t' + d.subj)
var msg = 'All / new count: ' + allQuestions.length + ' / ' + questions.length var msg = 'All / new count: ' + allQuestions.length + ' / ' + questions.length
if (d.version !== undefined) { msg += '. Version: ' + d.version } if (d.version !== undefined) { msg += '. Version: ' + d.version }
var color = logger.GetColor('green') var color = logger.GetColor('green')
try { try {

View file

@ -40,6 +40,7 @@ greasyforkon</a> |
<a href="<%= siteurl %>/data.json">Összes kérdés (JSON)</a> | <a href="<%= siteurl %>/data.json">Összes kérdés (JSON)</a> |
<a href="<%= siteurl %>/servergit">Szerver repó</a> | <a href="<%= siteurl %>/servergit">Szerver repó</a> |
<a href="<%= siteurl %>/scriptgit">Userscript repó</a> <a href="<%= siteurl %>/scriptgit">Userscript repó</a>
<a href="<%= siteurl %>/classesgit">Classes repó</a>
</h2> </h2>
<hr> <hr>