Writes server functions to get cookied and headers

This commit is contained in:
Alicia Sykes
2023-06-21 14:28:42 +01:00
parent b17c2f0b2d
commit 2adbd097a1
3 changed files with 64 additions and 0 deletions

View File

@@ -48,6 +48,16 @@
from = "/ssl-check"
to = "/.netlify/functions/ssl-check"
status = 301
force = true
[[redirects]]
from = "/get-headers"
to = "/.netlify/functions/get-headers"
status = 301
force = true
[[redirects]]
from = "/get-cookies"
to = "/.netlify/functions/get-cookies"
status = 301
force = true
# For router history mode, ensure pages land on index