Merge pull request #4154 from emanuelschuetze/static
Fixes for using pypi package
This commit is contained in:
commit
344debf03a
@ -1,7 +1,7 @@
|
|||||||
<!-- The actual form -->
|
<!-- The actual form -->
|
||||||
<header>
|
<header>
|
||||||
<mat-toolbar class="login-logo-bar" color="primary">
|
<mat-toolbar class="login-logo-bar" color="primary">
|
||||||
<a routerLink="/login"><img src="/assets/img/openslides-logo-h-dark-transparent.svg" alt="OpenSlides-logo"></a>
|
<a routerLink="/login"><img src="assets/img/openslides-logo-h-dark-transparent.svg" alt="OpenSlides-logo"></a>
|
||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="assets/img/favicon.png">
|
<link rel="icon" type="image/x-icon" href="assets/img/favicon.png">
|
||||||
<link rel="manifest" href="manifest.json" />
|
<link rel="manifest" href="/manifest.json" />
|
||||||
<meta name="theme-color" content="#317796">
|
<meta name="theme-color" content="#317796">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ class IndexView(View):
|
|||||||
requested, the index.html is delivered.
|
requested, the index.html is delivered.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
response = serve(request, path, **kwargs)
|
response = serve(request, path, insecure=True, **kwargs)
|
||||||
except Http404:
|
except Http404:
|
||||||
response = static.serve(
|
response = static.serve(
|
||||||
request,
|
request,
|
||||||
|
Loading…
Reference in New Issue
Block a user