fix: static files linked with their content hash, so a release is never shadowed by a cached copy (Cloudflare kept the old CSS)
This commit is contained in:
1 parent
0aa066fd01
commit
114c6fc530
10 files changed
+58
-43
No files matched your search
@@ -4,8 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Файлы · {{.Agent.Name}} - LPRA</title>
|
||||
<link rel="stylesheet" href="/static/app.css">
|
||||
<link rel="stylesheet" href="/static/codemirror/codemirror.css">
|
||||
<link rel="stylesheet" href="{{asset "app.css"}}">
|
||||
<link rel="stylesheet" href="{{asset "codemirror/codemirror.css"}}">
|
||||
<style>
|
||||
.fm-bar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
|
||||
/* Normalize buttons and the file <label> button so they line up on one row. */
|
||||
@@ -333,8 +333,8 @@
|
||||
|
||||
<div class="toast" id="toast"></div>
|
||||
|
||||
<script src="/static/codemirror/codemirror.js"></script>
|
||||
<script src="/static/docview.js"></script>
|
||||
<script src="{{asset "codemirror/codemirror.js"}}"></script>
|
||||
<script src="{{asset "docview.js"}}"></script>
|
||||
<script>
|
||||
(function () {
|
||||
const agentID = {{.Agent.ID}};
|
||||
|
||||
Reference in new issue
Block a user