Merge branch 'master' of gitlab.com:MrFry/mrfrys-node-server

This commit is contained in:
MrFry 2020-01-30 08:04:33 +01:00
commit 81e524978c
3 changed files with 6 additions and 5 deletions

View file

@ -285,7 +285,8 @@ app.post('/isAdding', function (req, res) {
}) })
}) })
app.get('/q', function (req, res) { app.get('/ask', function (req, res) {
logger.LogReq(req)
if (Object.keys(req.query).length === 0) { if (Object.keys(req.query).length === 0) {
res.json({ res.json({
message: `ask something! ?q=[question]&subj=[subject]&data=[question data]. 'subj' is optimal for faster result`, message: `ask something! ?q=[question]&subj=[subject]&data=[question data]. 'subj' is optimal for faster result`,

View file

@ -34,7 +34,7 @@
} }
.collapsible { .collapsible {
background-color: #212127; background-color: #232329;
color: #999999; color: #999999;
cursor: pointer; cursor: pointer;
width: 100%; width: 100%;
@ -62,7 +62,7 @@
padding: 0 18px; padding: 0 18px;
display: none; display: none;
overflow: hidden; overflow: hidden;
background-color: #212127; background-color: #232329;
} }
.subjTitle { .subjTitle {
text-align: center; text-align: center;
@ -167,7 +167,7 @@
if (i % 2 == 0) { if (i % 2 == 0) {
e.style.backgroundColor = "#2f2f37" e.style.backgroundColor = "#2f2f37"
} else { } else {
e.style.backgroundColor = "#212127" e.style.backgroundColor = "#232329"
} }
} }
</script> </script>

@ -1 +1 @@
Subproject commit fe74436ab119a31fdb35f7a3bbae50a572b0fb21 Subproject commit 1e8154802cf4c17a6c8e71a577c6fa9f4957c2b1