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

Use of express deprecated req.host #21543

Open
1 task done
imzedi opened this issue Nov 6, 2024 · 0 comments
Open
1 task done

Use of express deprecated req.host #21543

imzedi opened this issue Nov 6, 2024 · 0 comments

Comments

@imzedi
Copy link

imzedi commented Nov 6, 2024

Issue Summary

After upgrading to v5, getting this error logs

express deprecated req.host: Use req.hostname instead at versions/5.94.2/node_modules/@tryghost/mw-vhost/lib/vhost.js:83:13

Steps to Reproduce

  1. Changed docker image from ghost:4.48.9 to ghost:5.94.2-alpine
  2. Deployed it, all things were working good
  3. Checked docker logs, getting error logs pasted above
  4. This error is started after upgrading to v5

Ghost Version

5.94.2

Node.js Version

18

How did you install Ghost?

Using docker image 'ghost:5.94.2-alpine'

Database type

MySQL 8

Browser & OS version

No response

Relevant log / error output

No response

Code of Conduct

  • I agree to be friendly and polite to people in this repository
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Nov 6, 2024
@linear linear bot removed the needs:triage [triage] this needs to be triaged by the Ghost team label Nov 12, 2024
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

No branches or pull requests

1 participant