diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-06-27 15:07:55 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-06-27 15:07:55 +0900 |
| commit | ff09d6ed60998e31f8baf0846b9bdd31282979ed (patch) | |
| tree | 5607ede9552e4c8e0a5c2344797a44aa97970e8e /src/ollama_web/templates/login.html | |
| parent | f93822cebf6258c3a31e03745183aa2c8bb56f4d (diff) | |
CSPによるインラインJavascriptの実行ブロックの不具合を修正。
Diffstat (limited to 'src/ollama_web/templates/login.html')
| -rw-r--r-- | src/ollama_web/templates/login.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ollama_web/templates/login.html b/src/ollama_web/templates/login.html index 128c842..263afe7 100644 --- a/src/ollama_web/templates/login.html +++ b/src/ollama_web/templates/login.html @@ -5,9 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>ollama-web login</title> <link rel="stylesheet" href="{{ url_for('static', path='style.css') }}" /> - <script> - window.I18N = {{ messages | tojson }}; - </script> + <meta name="ollama-web-i18n" content="{{ messages | tojson | forceescape }}" /> <script src="{{ url_for('static', path='i18n.js') }}"></script> </head> <body class="login-page"> |
