1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-25 00:35:47 +01:00

Rename external directory to third-party.

This commit is contained in:
Juliusz Chroboczek 2024-11-16 18:12:15 +01:00
parent 7ed23b1eb8
commit ee4174a4d6
26 changed files with 11 additions and 11 deletions

View file

@ -7,9 +7,9 @@
<link rel="stylesheet" href="/common.css">
<link rel="stylesheet" type="text/css" href="/404.css"/>
<link rel="author" href="https://www.irif.fr/~jch/"/>
<link rel="stylesheet" type="text/css" href="/external/fontawesome/css/fontawesome.min.css"/>
<link rel="stylesheet" type="text/css" href="/external/fontawesome/css/solid.min.css"/>
<link rel="stylesheet" type="text/css" href="/external/fontawesome/css/regular.min.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/fontawesome/css/fontawesome.min.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/fontawesome/css/solid.min.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/fontawesome/css/regular.min.css"/>
</head>
<body>

View file

@ -8,11 +8,11 @@
<link rel="stylesheet" type="text/css" href="/common.css"/>
<link rel="stylesheet" type="text/css" href="/galene.css"/>
<link rel="author" href="https://www.irif.fr/~jch/"/>
<link rel="stylesheet" type="text/css" href="/external/fontawesome/css/fontawesome.min.css"/>
<link rel="stylesheet" type="text/css" href="/external/fontawesome/css/solid.min.css"/>
<link rel="stylesheet" type="text/css" href="/external/fontawesome/css/regular.min.css"/>
<link rel="stylesheet" type="text/css" href="/external/toastify/toastify.css"/>
<link rel="stylesheet" type="text/css" href="/external/contextual/contextual.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/fontawesome/css/fontawesome.min.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/fontawesome/css/solid.min.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/fontawesome/css/regular.min.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/toastify/toastify.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/contextual/contextual.css"/>
</head>
<body>
@ -304,8 +304,8 @@
</dialog>
<script src="/protocol.js" defer></script>
<script src="/external/toastify/toastify.js" defer></script>
<script src="/external/contextual/contextual.js" defer></script>
<script src="/third-party/toastify/toastify.js" defer></script>
<script src="/third-party/contextual/contextual.js" defer></script>
<script src="/galene.js" defer></script>
</body>
</html>

View file

@ -190,7 +190,7 @@ func makeCachable(w http.ResponseWriter, p string, fi os.FileInfo, cachable bool
}
cc := normalCacheControl
if strings.HasPrefix(p, "/external/") {
if strings.HasPrefix(p, "/third-party/") {
cc = veryCachableCacheControl
}