Adds API endpoint for checking HSTS headers
This commit is contained in:
@@ -104,6 +104,11 @@
|
||||
to = "/.netlify/functions/dns-sec"
|
||||
status = 301
|
||||
force = true
|
||||
[[redirects]]
|
||||
from = "/check-hsts"
|
||||
to = "/.netlify/functions/check-hsts"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# For router history mode, ensure pages land on index
|
||||
[[redirects]]
|
||||
|
||||
Reference in New Issue
Block a user