5753182e03
* migrate to netlify proxy Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * relative forward to func Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * custom logic for go paths Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * fix const Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * missing break Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * add default for new repos Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
19 lines
327 B
TOML
19 lines
327 B
TOML
[[redirects]]
|
|
from = "/*"
|
|
to = "/.netlify/functions/go-get"
|
|
status = 200
|
|
force = true
|
|
query = {go-get = "1"}
|
|
|
|
[[redirects]]
|
|
from = "/v2"
|
|
to = "/.netlify/functions/oci-proxy"
|
|
status = 200
|
|
force = true
|
|
|
|
[[redirects]]
|
|
from = "/v2/*"
|
|
to = "https://ghcr.io/v2/goauthentik/:splat"
|
|
status = 200
|
|
force = true
|