diff --git a/netlify.toml b/netlify.toml index 136485e..2139cb7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -20,6 +20,9 @@ # REACT_APP_SHODAN_API_KEY='' # Shodan API key, for using Shodan scan API # REACT_APP_WHO_API_KEY='' # WhoAPI key, for iniiating client-side whois lookup +[functions] + included_files = ["node_modules/**"] + # Redirect the /api/* path to the lambda functions [[redirects]] from = "/api/*" diff --git a/package.json b/package.json index 3790edd..4a39aca 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", "astro": "^4.7.1", - "axios": "^1.4.0", + "axios": "^1.4.8", "cheerio": "^1.0.0-rc.12", "chrome-aws-lambda": "^10.1.0", "chromium": "^3.0.3", diff --git a/yarn.lock b/yarn.lock index 4f9de1b..1d76485 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2219,7 +2219,7 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== -axios@^1.4.0: +axios@^1.4.8: version "1.7.2" resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==