Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Set port based off of scheme if host doesn't include port #589

Merged
merged 1 commit into from
Nov 26, 2018
Merged

Set port based off of scheme if host doesn't include port #589

merged 1 commit into from
Nov 26, 2018

Conversation

Anthonyzou
Copy link
Contributor

When directus api will assume the port is 80 even when the host string doesn't include a port but the scheme is https.

This adds a quick check for that case.

@rijkvanzanten rijkvanzanten added this to In progress in v2.0.9 via automation Nov 17, 2018
@rijkvanzanten rijkvanzanten moved this from In progress to To do in v2.0.9 Nov 17, 2018
@makote makote mentioned this pull request Nov 23, 2018
Copy link
Contributor

@wellingguzman wellingguzman left a comment

Choose a reason for hiding this comment

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

Thanks @Anthonyzou! This fixes #595

@wellingguzman wellingguzman merged commit d91c0d0 into directus:master Nov 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
v2.0.9
  
To do
Development

Successfully merging this pull request may close these issues.

None yet

2 participants