fix: Netlify include axios for function runtime

This commit is contained in:
Alicia Sykes committed 2024-06-21 23:28:52 +01:00
1 parent c0f7ef1079
commit 2ff8155a35
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@
# REACT_APP_WHO_API_KEY='' # WhoAPI key, for iniiating client-side whois lookup # REACT_APP_WHO_API_KEY='' # WhoAPI key, for iniiating client-side whois lookup
[functions] [functions]
included_files = ["node_modules/**"] external_node_modules = ["axios"]
# Redirect the /api/* path to the lambda functions # Redirect the /api/* path to the lambda functions
[[redirects]] [[redirects]]