Skip to content

Commit b713453

Browse files
authored
🐛 chore: fix deploy failed on netlify (#2761)
* fix deploy failed on netlify * Update netlify.toml Increased max_old_space_size to 8192
1 parent 1aa79de commit b713453

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

netlify.toml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
command = "npm run build"
33
publish = ".next"
44

5+
[build.environment]
6+
NODE_OPTIONS = "--max_old_space_size=8192"
57

68
[template.environment]
79
OPENAI_API_KEY = "set your OpenAI API Key"

0 commit comments

Comments
 (0)