Adds API endpoints for native whois lookup on domain

This commit is contained in:
Alicia Sykes
2023-07-17 23:05:56 +01:00
parent 20aaa77baf
commit c9cdd93138
2 changed files with 101 additions and 0 deletions

View File

@@ -109,6 +109,11 @@
to = "/.netlify/functions/check-hsts"
status = 301
force = true
[[redirects]]
from = "/whois-lookup"
to = "/.netlify/functions/whois-lookup"
status = 301
force = true
# For router history mode, ensure pages land on index
[[redirects]]