jakeburden / next-absolute-url

Get the absolute URL of your Next.js app (optionally set a localhost dev URL)
300 stars 30 forks source link

Detect proxy header (now dev mode) #9

Closed armandabric closed 4 years ago

armandabric commented 4 years ago

Here a proposal to handle the host and the protocol when the request have been proxyfied on server side.

This could happen in development when using the now dev cli

jakeburden commented 4 years ago

@Spy-Seth this looks good to me! Thank you so much for your contribution.

jakeburden commented 4 years ago

@Spy-Seth this is published in next-absolute-url@1.2.1 🎉