32 lines
879 B
HTML
32 lines
879 B
HTML
{#
|
|
Copyright 2024, 2025 New Vector Ltd.
|
|
Copyright 2023, 2024 The Matrix.org Foundation C.I.C.
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
Please see LICENSE files in the repository root for full details.
|
|
-#}
|
|
|
|
{# Must be kept in sync with frontend/index.html #}
|
|
{% set _ = translator(lang) %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="{{ lang }}">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>{{ _("app.name") }}</title>
|
|
{% set config = {
|
|
'graphqlEndpoint': app_config.graphqlEndpoint,
|
|
'root': app_config.root,
|
|
} -%}
|
|
<script>
|
|
window.APP_CONFIG = JSON.parse("{{ config | tojson | add_slashes | safe }}");
|
|
</script>
|
|
{{ include_asset('src/entrypoints/main.tsx') | indent(4) | safe }}
|
|
</head>
|
|
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|