1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

routing: if a query contatins space or / it is a question

This commit is contained in:
Igor Chubin
2019-05-11 12:45:00 +02:00
parent b1b8e772ac
commit 08de8f252b
+2 -1
View File
@@ -121,9 +121,10 @@ _CONFIG = {
("", "learnxiny"),
],
"routing.post": [
("^[^/]*$", "unknown"),
("^[^/ +]*$", "unknown"),
("^[a-z][a-z]-[a-z][a-z]$", "translation"),
],
"routing.default": "question",
"upstream.url": "https://cheat.sh",
"upstream.timeout": 5,
"search.limit": 20,