mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Remove 'development' from http and update frontend (#3856)
* Remove 'development' from http and update frontend * UPdate configuration variables * Update frontend.markdown
This commit is contained in:
parent
b782c88611
commit
3570a1edb8
@ -18,6 +18,32 @@ This offers the official frontend to control Home Assistant.
|
|||||||
frontend:
|
frontend:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{% configuration %}
|
||||||
|
themes:
|
||||||
|
description: Allow to define different themes. See below for further details.
|
||||||
|
required: false
|
||||||
|
type: map
|
||||||
|
keys:
|
||||||
|
"[identifier]":
|
||||||
|
description: Name to use in the frontend.
|
||||||
|
required: true
|
||||||
|
type: [list, map]
|
||||||
|
keys:
|
||||||
|
"[css-identifier]":
|
||||||
|
description: The CSS identifier.
|
||||||
|
required: true
|
||||||
|
type: [list, string]
|
||||||
|
extra_html_url:
|
||||||
|
description: "List of addtional [resources](/developers/frontend_creating_custom_ui/) to load."
|
||||||
|
required: false
|
||||||
|
type: list
|
||||||
|
development_repo:
|
||||||
|
description: Allow to point to a directory containing frontend files instead of taking them from a pre-built PyPI package. Useful for Frontend development.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
|
||||||
## {% linkable_title Themes %}
|
## {% linkable_title Themes %}
|
||||||
|
|
||||||
Starting with version 0.49 you can define themes:
|
Starting with version 0.49 you can define themes:
|
||||||
|
@ -29,7 +29,6 @@ Configuration variables:
|
|||||||
- **server_host** (*Optional*): Only listen to incoming requests on specific IP/host (default: accept all)
|
- **server_host** (*Optional*): Only listen to incoming requests on specific IP/host (default: accept all)
|
||||||
- **server_port** (*Optional*): Let you set a port to use. Defaults to 8123.
|
- **server_port** (*Optional*): Let you set a port to use. Defaults to 8123.
|
||||||
- **base_url** (*Optional*): The URL that Home Assistant is available on the internet. For example: `hass-example.duckdns.org:8123`. Defaults to the local IP address. The iOS app finds local installations, if you have an outside URL use this so that you can auto-fill when discovered in the app.
|
- **base_url** (*Optional*): The URL that Home Assistant is available on the internet. For example: `hass-example.duckdns.org:8123`. Defaults to the local IP address. The iOS app finds local installations, if you have an outside URL use this so that you can auto-fill when discovered in the app.
|
||||||
- **development** (*Optional*): Disable caching and load unvulcanized assets. Useful for Frontend development.
|
|
||||||
- **ssl_certificate** (*Optional*): Path to your TLS/SSL certificate to serve Home Assistant over a secure connection.
|
- **ssl_certificate** (*Optional*): Path to your TLS/SSL certificate to serve Home Assistant over a secure connection.
|
||||||
- **ssl_key** (*Optional*): Path to your TLS/SSL key to serve Home Assistant over a secure connection.
|
- **ssl_key** (*Optional*): Path to your TLS/SSL key to serve Home Assistant over a secure connection.
|
||||||
- **cors_allowed_origins** (*Optional*): A list of origin domain names to allow [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) requests from. Enabling this will set the `Access-Control-Allow-Origin` header to the Origin header if it is found in the list, and the `Access-Control-Allow-Headers` header to `Origin, Accept, X-Requested-With, Content-type, X-HA-access`. You must provide the exact Origin, i.e. `https://home-assistant.io` will allow requests from `https://home-assistant.io` but __not__ `http://home-assistant.io`.
|
- **cors_allowed_origins** (*Optional*): A list of origin domain names to allow [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) requests from. Enabling this will set the `Access-Control-Allow-Origin` header to the Origin header if it is found in the list, and the `Access-Control-Allow-Headers` header to `Origin, Accept, X-Requested-With, Content-type, X-HA-access`. You must provide the exact Origin, i.e. `https://home-assistant.io` will allow requests from `https://home-assistant.io` but __not__ `http://home-assistant.io`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user