mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added classes git link
This commit is contained in:
parent
68c6b2b636
commit
e863893ecc
5 changed files with 12 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "public/moodle-test-userscript"]
|
||||||
|
path = public/moodle-test-userscript
|
||||||
|
url = git@gitlab.com:MrFry/moodle-test-userscript.git
|
|
@ -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()
|
||||||
|
|
1
public/moodle-test-userscript
Submodule
1
public/moodle-test-userscript
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit cd874374630d9bbff4b9941b293ccec7899727d9
|
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue