Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added missing return #465

Merged
merged 1 commit into from Nov 14, 2023
Merged

Conversation

fcaps
Copy link
Collaborator

@fcaps fcaps commented Nov 14, 2023

to fix issues like this:

website-website-1  |     [error] Incoming request to" /clans "failed with error " Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client "
website-website-1  |     Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
website-website-1  |         at new NodeError (node:internal/errors:406:5)
website-website-1  |         at ServerResponse.setHeader (node:_http_outgoing:652:11)
website-website-1  |         at ServerResponse.header (/code/node_modules/express/lib/response.js:794:10)
website-website-1  |         at ServerResponse.send (/code/node_modules/express/lib/response.js:174:12)
website-website-1  |         at done (/code/node_modules/express/lib/response.js:1035:10)
website-website-1  |         at exports.renderFile (/code/node_modules/pug/lib/index.js:448:12)
website-website-1  |         at exports.__express [as engine] (/code/node_modules/pug/lib/index.js:493:11)
website-website-1  |         at View.render (/code/node_modules/express/lib/view.js:135:8)
website-website-1  |         at tryRender (/code/node_modules/express/lib/application.js:657:10)
website-website-1  |         at Function.render (/code/node_modules/express/lib/application.js:609:3)

@Brutus5000 Brutus5000 merged commit 2288b1f into FAForever:develop Nov 14, 2023
2 checks passed
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.

None yet

2 participants