summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.rr.yaml')
-rwxr-xr-x.rr.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 2985dee7..ca638aa9 100755
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -31,6 +31,19 @@ http:
"fc00::/7",
"fe80::/10",
]
+ headers:
+ cors:
+ allowed_origin: "*"
+ allowed_headers: "*"
+ allowed_methods: "GET,POST,PUT,DELETE"
+ allow_credentials: true
+ exposed_headers: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma"
+ max_age: 600
+ request:
+ input: "custom-header"
+ response:
+ output: "output-header"
+
static:
dir: "tests"
forbid: [ "" ]