Allow Hass.io panel dir (#14655)
This commit is contained in:
parent
13859388c1
commit
b6e4a7771a
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ NO_TIMEOUT = {
|
||||||
}
|
}
|
||||||
|
|
||||||
NO_AUTH = {
|
NO_AUTH = {
|
||||||
re.compile(r'^app-(es5|latest)/(index|hassio-app).html$'),
|
re.compile(r'^app-(es5|latest)/.+$'),
|
||||||
re.compile(r'^addons/[^/]*/logo$')
|
re.compile(r'^addons/[^/]*/logo$')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ def test_auth_required_forward_request(hassio_client):
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'build_type', [
|
'build_type', [
|
||||||
'es5/index.html', 'es5/hassio-app.html', 'latest/index.html',
|
'es5/index.html', 'es5/hassio-app.html', 'latest/index.html',
|
||||||
'latest/hassio-app.html'
|
'latest/hassio-app.html', 'es5/some-chunk.js', 'es5/app.js',
|
||||||
])
|
])
|
||||||
def test_forward_request_no_auth_for_panel(hassio_client, build_type):
|
def test_forward_request_no_auth_for_panel(hassio_client, build_type):
|
||||||
"""Test no auth needed for ."""
|
"""Test no auth needed for ."""
|
||||||
|
|
Loading…
Add table
Reference in a new issue