Cachebust main.css.

This commit is contained in:
TLSM 2022-08-17 01:55:44 -04:00
parent f1983da8d4
commit a95f47339d
No known key found for this signature in database
GPG key ID: E745A82778055C7E
11 changed files with 16 additions and 16 deletions

View file

@ -15,14 +15,14 @@
{% if v %} {% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style> <style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58">
{% if v.css %} {% if v.css %}
<link rel="stylesheet" href="/@{{v.username}}/css"> <link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %} {% endif %}
{% else %} {% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58">
{% endif %} {% endif %}

View file

@ -14,7 +14,7 @@
<title>Chat</title> <title>Chat</title>
<style>:root{--primary:#{{v.themecolor}}}</style> <style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58">
{% if v.css %} {% if v.css %}
<link rel="stylesheet" href="/@{{v.username}}/css"> <link rel="stylesheet" href="/@{{v.username}}/css">

View file

@ -8,14 +8,14 @@
<script src="/assets/js/micromodal.js?v=245"></script> <script src="/assets/js/micromodal.js?v=245"></script>
{% if v %} {% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style> <style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58">
{% if v.css %} {% if v.css %}
<link rel="stylesheet" href="/@{{v.username}}/css"> <link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %} {% endif %}
{% else %} {% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58">
{% endif %} {% endif %}

View file

@ -6,14 +6,14 @@
{% block content %} {% block content %}
{% if v %} {% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style> <style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58">
{% if v.css %} {% if v.css %}
<link rel="stylesheet" href="/@{{v.username}}/css"> <link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %} {% endif %}
{% else %} {% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58">
{% endif %} {% endif %}

View file

@ -18,7 +18,7 @@
{% endblock %} {% endblock %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58">
</head> </head>

View file

@ -14,7 +14,7 @@
<title>2-Step Login - {{SITE_TITLE}}</title> <title>2-Step Login - {{SITE_TITLE}}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58">
</head> </head>

View file

@ -34,7 +34,7 @@
<style>:root{--primary:#{{v.themecolor}}}</style> <style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58">
{% if v.css and not request.path.startswith('/settings/css') %} {% if v.css and not request.path.startswith('/settings/css') %}
<link rel="stylesheet" href="/@{{v.username}}/css"> <link rel="stylesheet" href="/@{{v.username}}/css">

View file

@ -39,11 +39,11 @@
{% if v %} {% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style> <style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58">
{% else %} {% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58">
{% endif %} {% endif %}
</head> </head>

View file

@ -31,7 +31,7 @@
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_TITLE}}{% else %}Sign up - {{SITE_TITLE}}{% endif %}</title> <title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_TITLE}}{% else %}Sign up - {{SITE_TITLE}}{% endif %}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58">
</head> </head>

View file

@ -32,7 +32,7 @@
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_TITLE}}{% else %}{{SITE_TITLE}}{% endif %}</title> <title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_TITLE}}{% else %}{{SITE_TITLE}}{% endif %}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=58">
</head> </head>

View file

@ -20,14 +20,14 @@
{% block stylesheets %} {% block stylesheets %}
{% if v %} {% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style> <style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=49"> <link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=49">
{% if v.css %} {% if v.css %}
<link rel="stylesheet" href="/@{{v.username}}/css"> <link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %} {% endif %}
{% else %} {% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style> <style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=250"> <link rel="stylesheet" href="/assets/css/main.css?v=251">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=49"> <link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=49">
{% endif %} {% endif %}
{% endblock %} {% endblock %}