fix: adiciona cache-busting nos arquivos estaticos (css/js) para evitar layout desatualizado apos deploy
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block titulo %}Painel de Clientes{% endblock %}</title>
|
||||
<link rel="icon" type="image/png" href="/static/logo-gti-256x256.png">
|
||||
<link rel="stylesheet" href="/static/estilo.css">
|
||||
<link rel="stylesheet" href="/static/estilo.css?v={{ request.state.asset_versao }}">
|
||||
<script>
|
||||
(function () {
|
||||
var tema = localStorage.getItem("tema");
|
||||
@@ -84,7 +84,7 @@
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/sidebar.js" defer></script>
|
||||
<script src="/static/tema.js" defer></script>
|
||||
<script src="/static/sidebar.js?v={{ request.state.asset_versao }}" defer></script>
|
||||
<script src="/static/tema.js?v={{ request.state.asset_versao }}" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Entrar — Painel de Clientes</title>
|
||||
<link rel="icon" type="image/png" href="/static/logo-gti-256x256.png">
|
||||
<link rel="stylesheet" href="/static/estilo.css">
|
||||
<link rel="stylesheet" href="/static/estilo.css?v={{ request.state.asset_versao }}">
|
||||
<style>
|
||||
body {
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
|
||||
Reference in New Issue
Block a user