fix: proxy dashboard through Netlify function

This commit is contained in:
Raditya_Indra_Putranto
2026-06-04 18:53:02 +07:00
parent 97a7cd1369
commit 1d5b807fc7
2 changed files with 77 additions and 0 deletions
+9
View File
@@ -4,3 +4,12 @@
[build.environment]
NODE_VERSION = "22"
[functions]
directory = "netlify/functions"
node_bundler = "esbuild"
[[redirects]]
from = "/api/dashboard"
to = "/.netlify/functions/dashboard"
status = 200