URLs
Route
The route where your shortened urls will be served at.
Option: core.route
Type: string
Example:
"/s"
"/s/"
"/urls"
"/urls/"
Length
This will determine how long your randomly generated url names should be. This option is not used when vanity
is supplied while creating a url.
Remember
Make sure the length is greater than 1
or 2
, this will only allow 62
or 3844
urls to be shortened.
Option: core.length
Type: number
Example:
6
Vanity
This will allow for custom urls like https://example.com/s/google
or https://example.com/s/zipline
. If this option is disabled, then if a vanity
url is supplied, it will be ignored.
Option: core.vanity
Type: boolean
Example:
true