Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Fixed express deprecation warning#412

Closed
AmazingTurtle wants to merge 1 commit into
getsentry:masterfrom
AmazingTurtle:patch-1
Closed

Fixed express deprecation warning#412
AmazingTurtle wants to merge 1 commit into
getsentry:masterfrom
AmazingTurtle:patch-1

Conversation

@AmazingTurtle

Copy link
Copy Markdown

"express deprecated req.host: Use req.hostname instead" has been fixed

"express deprecated req.host: Use req.hostname instead" has been fixed
@oliviertassinari

Copy link
Copy Markdown
Contributor

Raised into #96 (comment)

@Skn0tt Skn0tt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works perfectly :D
Just wanted to fix this as well, but saw that there's already a PR.

@kamilogorek

Copy link
Copy Markdown
Contributor

This change will break accessing host for Koa users – http://koajs.com/#request so we cannot simply remove this attribute from the table.

@oliviertassinari

oliviertassinari commented Jan 2, 2018

Copy link
Copy Markdown
Contributor

@kamilogorek

Copy link
Copy Markdown
Contributor

@oliviertassinari, unfortunately, it's not enough, but I still wrote a workaround for this. Hope it helps :)
#413
@AmazingTurtle excuse me closing this PR, but it was just faster to write than commenting and asking for a change.

@kamilogorek kamilogorek closed this Jan 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants