update config docs
This commit is contained in:
+3
-5
@@ -48,11 +48,10 @@
|
|||||||
pathDelimiter: '/',
|
pathDelimiter: '/',
|
||||||
|
|
||||||
// set to true to instantly redirect when a key is matched.
|
// set to true to instantly redirect when a key is matched.
|
||||||
// you'll have to put a space before any search queries to
|
// put a space before any search queries to prevent unwanted redirects.
|
||||||
// prevent unwanted redirects.
|
|
||||||
instantRedirect: false,
|
instantRedirect: false,
|
||||||
|
|
||||||
// suggest your most popular searches as you type.
|
// suggest your most popular queries as you type.
|
||||||
suggestions: true,
|
suggestions: true,
|
||||||
|
|
||||||
// max amount of suggestions to display.
|
// max amount of suggestions to display.
|
||||||
@@ -64,8 +63,7 @@
|
|||||||
// the delimiter between the hours and minutes in the clock.
|
// the delimiter between the hours and minutes in the clock.
|
||||||
clockDelimiter: ' ',
|
clockDelimiter: ' ',
|
||||||
|
|
||||||
// when the input matches this regular expression, you will
|
// used for determining when to redirect directly to a url.
|
||||||
// be redirected directly to the input url.
|
|
||||||
urlRegex: /^(?:(http|https)?:\/\/)?(?:[\w-]+\.)+([a-z]|[A-Z]|[0-9]){2,6}/i,
|
urlRegex: /^(?:(http|https)?:\/\/)?(?:[\w-]+\.)+([a-z]|[A-Z]|[0-9]){2,6}/i,
|
||||||
|
|
||||||
// if "urlRegex" matches but this doesn't, "http://" will be
|
// if "urlRegex" matches but this doesn't, "http://" will be
|
||||||
|
|||||||
Reference in New Issue
Block a user