Skip to content

Commit

Permalink
remove special netlify lambda settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Apr 24, 2024
1 parent f04320d commit 6a84556
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@ VITE_GOOGLE_SPREADSHEET_ID=

See [How to set netlify function directory](https://docs.netlify.com/functions/optional-configuration/?fn-language=ts)

2. Set environment variable: `AWS_LAMBDA_JS_RUNTIME=nodejs18.x`

This environment variable is needed for the `sponsor.js` function. If not set, it will throw error `fetch not found`.


#### Deploy on IPFS

Expand Down
3 changes: 0 additions & 3 deletions vue-app/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ GOOGLE_SHEET_NAME=
# the number of record to export in a pending submissions JSON file. Default 60.
VITE_EXPORT_BATCH_SIZE=

# This is only used for netlify function, sponsor.js, to avoid getting the 'fetch not found' error
AWS_LAMBDA_JS_RUNTIME=nodejs18.x

# walletconnect project id
VITE_WALLET_CONNECT_PROJECT_ID=walletconnect_project_id

Expand Down

0 comments on commit 6a84556

Please sign in to comment.