You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the request.url will only be https://... if a valid tls object is provided to Bun.serve.
However there are not always PEM files which can be provided (i.e. using a 3rd party service to handle TLS, or using a runtime which does not support the file system).
Is this intended behaviour, and is there a workaround?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When implementing a simple server
the
request.url
will only behttps://...
if a validtls
object is provided to Bun.serve.However there are not always PEM files which can be provided (i.e. using a 3rd party service to handle TLS, or using a runtime which does not support the file system).
Is this intended behaviour, and is there a workaround?
Beta Was this translation helpful? Give feedback.
All reactions