Skip to content

Commit

Permalink
🐛 chore: fix deploy failed on netlify (lobehub#2761)
Browse files Browse the repository at this point in the history
* fix deploy failed on netlify

* Update netlify.toml

Increased max_old_space_size to 8192
  • Loading branch information
AHA1GE authored Jun 2, 2024
1 parent 1aa79de commit b713453
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
command = "npm run build"
publish = ".next"

[build.environment]
NODE_OPTIONS = "--max_old_space_size=8192"

[template.environment]
OPENAI_API_KEY = "set your OpenAI API Key"
Expand Down

0 comments on commit b713453

Please sign in to comment.