<!--
 Copyright (c) conda-store development team. All rights reserved.
 Use of this source code is governed by a BSD-style
 license that can be found in the LICENSE file.
-->

<!-- Note we do not modify the main.js file directly anymore. Instead we leverage
the use of runtime configuration through condaStoreConfig per
https://conda.store/conda-store-ui/how-tos/configure-ui -->

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>conda-store</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <script>
         var condaStoreConfig = {
             NODE_DEBUG: null,
             REACT_APP_CONTEXT: "single-page-app", // not a true setting
             REACT_APP_AUTH_METHOD: "cookie",
             REACT_APP_AUTH_TOKEN: "",
             REACT_APP_STYLE_TYPE: "green-accent",
             REACT_APP_SHOW_LOGIN_ICON: "true",
             REACT_APP_API_URL: "{{ url_for('redirect_root_to_ui') }}",
             REACT_APP_LOGIN_PAGE_URL: "{{ url_for('get_login_method') }}?next=",
             REACT_APP_LOGOUT_PAGE_URL: "{{ url_for('post_logout_method') }}?next=/",
             REACT_APP_URL_BASENAME: "{{ url_prefix.rstrip('/') }}{{ ui_prefix }}"
         };
        </script>
        <script defer src="{{ url_prefix.rstrip("/") }}/static/conda-store-ui/main.js"></script>
        <link href="{{ url_prefix.rstrip("/") }}/static/conda-store-ui/main.css" rel="stylesheet">
        <link href="{{ url_prefix.rstrip("/") }}/favicon.ico" rel="icon">
    </head>
    <body>
    </body>
</html>
