18 lines
471 B
TOML
18 lines
471 B
TOML
# This is an example Stargate configuration file that defines a couple of routes to match against.
|
|
[[routes]]
|
|
from = "a"
|
|
to = "https://cptlobster.dev"
|
|
|
|
[[routes]]
|
|
from = "b"
|
|
to = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
|
|
|
[[routes]]
|
|
from = "d"
|
|
to = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
|
|
|
# This is a simple regex matcher. It will match any string that ends in "ic".
|
|
[[routes]]
|
|
from = ".*ic"
|
|
to = "https://en.wikipedia.org/wiki/Special:Random"
|
|
using = "regex"
|