caddy (snippets): add app-redir snippet
parent
ef4d41d315
commit
8d355454ef
|
@ -1,3 +1,7 @@
|
|||
(app-redir) {
|
||||
redir https://{args[0]}.zio.sh{uri} temporary
|
||||
}
|
||||
|
||||
(cors) {
|
||||
@origin header Origin {args.0}
|
||||
header @origin Access-Control-Allow-Origin "{args.0}"
|
||||
|
|
Loading…
Reference in New Issue