Skip to content

Clarify that http.base_url doesn't support paths#8615

Merged
frenck merged 1 commit into
home-assistant:currentfrom
davidjb:patch-1
Feb 27, 2019
Merged

Clarify that http.base_url doesn't support paths#8615
frenck merged 1 commit into
home-assistant:currentfrom
davidjb:patch-1

Conversation

@davidjb
Copy link
Copy Markdown
Contributor

@davidjb davidjb commented Feb 17, 2019

Description:

Explain that paths aren't supported in the http.base_url setting to clarify expectations about this option. The term base_url implied that this option could be a URL but in fact it may only currently be part of a URL.

Related: home-assistant/core#21113

Pull request in home-assistant (if applicable): N/A

Checklist:

  • Branch: next is for changes and new documentation that will go public with the next home-assistant release. Fixes, changes and adjustments for the current release should be created against current.
  • The documentation follows the standards.

Explains that paths aren't supported in base_url so someone attempting to set settings doesn't expect something that isn't currently possible.  Related: home-assistant/core#21113
@ghost ghost added the to-do label Feb 17, 2019
@klaasnicolaas klaasnicolaas added enhancement ready-for-review This PR needs to be reviewed current This PR goes into the current branch and removed to-do labels Feb 18, 2019
Copy link
Copy Markdown
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@frenck frenck merged commit 63d8196 into home-assistant:current Feb 27, 2019
@ghost ghost removed the ready-for-review This PR needs to be reviewed label Feb 27, 2019
davidjb added a commit to davidjb/home-assistant.io that referenced this pull request Mar 29, 2019
Improves on the wording of my previous PR for readability
davidjb added a commit to davidjb/home-assistant.io that referenced this pull request Mar 29, 2019
Improves on the wording of my previous PR for readability
frenck pushed a commit that referenced this pull request Mar 30, 2019
Improves on the wording of my previous PR for readability
@idreamerhx
Copy link
Copy Markdown

2021-07-13 12:24:09 WARNING (MainThread) [homeassistant.components.http] The 'base_url' option is deprecated, please remove it from your configuration

hass behind revert proxy (nginx) need requests uri relative, and also this is a better practice develop web app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

current This PR goes into the current branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants