mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-26 22:45:38 +03:00
routing: if a query contatins space or / it is a question
This commit is contained in:
parent
b1b8e772ac
commit
08de8f252b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user