Merge pull request #4154 from emanuelschuetze/static

Fixes for using pypi package
This commit is contained in:
Emanuel Schütze 2019-01-20 09:57:35 +01:00 committed by GitHub
commit 344debf03a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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,