Skip to content

Update index.js#35

Open
AttD7 wants to merge 1 commit intoZibri:masterfrom
AttD7:patch-1
Open

Update index.js#35
AttD7 wants to merge 1 commit intoZibri:masterfrom
AttD7:patch-1

Conversation

@AttD7
Copy link

@AttD7 AttD7 commented Dec 23, 2025

correction of deploy error :

2025-12-23T01:18:03.137Z ✘ [ERROR] Build failed with 1 error: 2025-12-23T01:18:03.138Z 2025-12-23T01:18:03.138Z ✘ [ERROR] Cannot assign to "responseHeaders" because it is a constant 2025-12-23T01:18:03.138Z 2025-12-23T01:18:03.139Z index.js:106:16: 2025-12-23T01:18:03.139Z 106 │ responseHeaders = setupCORSHeaders(responseHeaders); 2025-12-23T01:18:03.139Z ╵ ~~~~~~~~~~~~~~~ 2025-12-23T01:18:03.139Z 2025-12-23T01:18:03.139Z The symbol "responseHeaders" was declared a constant here: 2025-12-23T01:18:03.140Z 2025-12-23T01:18:03.140Z index.js:98:22: 2025-12-23T01:18:03.140Z 98 │ const responseHeaders = new Headers(response.heade... 2025-12-23T01:18:03.141Z ╵ ~~~~~~~~~~~~~~~

correction of deploy error :

2025-12-23T01:18:03.137Z ✘ [ERROR] Build failed with 1 error: 2025-12-23T01:18:03.138Z 2025-12-23T01:18:03.138Z ✘ [ERROR] Cannot assign to "responseHeaders" because it is a constant 2025-12-23T01:18:03.138Z 2025-12-23T01:18:03.139Z index.js:106:16: 2025-12-23T01:18:03.139Z 106 │ responseHeaders = setupCORSHeaders(responseHeaders); 2025-12-23T01:18:03.139Z ╵ ~~~~~~~~~~~~~~~ 2025-12-23T01:18:03.139Z 2025-12-23T01:18:03.139Z The symbol "responseHeaders" was declared a constant here: 2025-12-23T01:18:03.140Z 2025-12-23T01:18:03.140Z index.js:98:22: 2025-12-23T01:18:03.140Z 98 │ const responseHeaders = new Headers(response.heade... 2025-12-23T01:18:03.141Z ╵ ~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant