refactor: added {BUILD_TIME} in path js and css files

This commit is contained in:
Yurii
2024-11-12 11:44:02 +03:00
parent 2ff84cbddf
commit 7482eb8898
8 changed files with 19 additions and 13 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title data-i18n>sensors.title</title>
<link rel="stylesheet" href="/static/app.css" />
<link rel="stylesheet" href="/static/app.css?{BUILD_TIME}" />
</head>
<body>
@@ -169,7 +169,7 @@
</small>
</footer>
<script src="/static/app.js"></script>
<script src="/static/app.js?{BUILD_TIME}"></script>
<script>
document.addEventListener("DOMContentLoaded", async () => {
const lang = new Lang(document.getElementById("lang"));