fix: falied load resource: net:: ERR_FILE_NOT_FOUND
This commit is contained in:
parent
a1d3cc5045
commit
b21b2a6009
@ -1,9 +1,14 @@
|
|||||||
|
{% if settings.app_public %}
|
||||||
|
{% set app_url = settings.app_url|string %}
|
||||||
|
{% else %}
|
||||||
|
{% set app_url = settings.app_url|string + ':' + settings.port_number|string %}
|
||||||
|
{% endif %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval'; media-src 'self' blob: data: https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}">
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval'; media-src 'self' blob: {{ app_url }}/* data: https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}">
|
||||||
<title>{{ page_title }}</title>
|
<title>{{ page_title }}</title>
|
||||||
<link title="YT Local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml"/>
|
<link title="YT Local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml"/>
|
||||||
<link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/>
|
<link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user