Skip to content

Allow HTTP scheme in Context#212

Merged
paulomarg merged 1 commit intomainfrom
allow_http_host
Aug 15, 2022
Merged

Allow HTTP scheme in Context#212
paulomarg merged 1 commit intomainfrom
allow_http_host

Conversation

@paulomarg
Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

In order to run the CLI command dev --no-tunnel, we need to make the library and template capable of using the HTTP scheme.

WHAT is this pull request doing?

Removing any assumptions we had of the scheme being https://, and replacing it with a Context::$HOST_SCHEME that can be derived from Context::$HOST_NAME, if passed. We still default to HTTPS so this change does not affect existing apps.

Type of change

  • Minor: New feature (non-breaking change which adds functionality)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above
  • I have added/updated tests for this change
  • I have updated the documentation for public APIs from the library (if applicable)

@paulomarg paulomarg requested a review from a team as a code owner August 12, 2022 17:07
Copy link
Copy Markdown
Contributor

@mkevinosullivan mkevinosullivan left a comment

Choose a reason for hiding this comment

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

LGTM!

@paulomarg paulomarg merged commit 65fe4be into main Aug 15, 2022
@paulomarg paulomarg deleted the allow_http_host branch August 15, 2022 20:52
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

Successfully merging this pull request may close these issues.

2 participants