forked from izu/student-web-if-development-kit
fix: proxy dashboard through Netlify function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user