Fixes for using pypi package
- Fix static path for manifest and login logo. - Use insecure=True (required to serve static files via development server with DEBUG=False).
This commit is contained in:
parent
034a4d2a67
commit
23f7dce6a2
@ -1,7 +1,7 @@
|
||||
<!-- The actual form -->
|
||||
<header>
|
||||
<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>
|
||||
</header>
|
||||
<main>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<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">
|
||||
</head>
|
||||
|
||||
|
@ -89,7 +89,7 @@ class IndexView(View):
|
||||
requested, the index.html is delivered.
|
||||
"""
|
||||
try:
|
||||
response = serve(request, path, **kwargs)
|
||||
response = serve(request, path, insecure=True, **kwargs)
|
||||
except Http404:
|
||||
response = static.serve(
|
||||
request,
|
||||
|
Loading…
Reference in New Issue
Block a user