Commit ee4174a4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Rename external directory to third-party.

parent 7ed23b1e
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
<link rel="stylesheet" href="/common.css"> <link rel="stylesheet" href="/common.css">
<link rel="stylesheet" type="text/css" href="/404.css"/> <link rel="stylesheet" type="text/css" href="/404.css"/>
<link rel="author" href="https://www.irif.fr/~jch/"/> <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="/third-party/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="/third-party/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/regular.min.css"/>
</head> </head>
<body> <body>
......
...@@ -8,11 +8,11 @@ ...@@ -8,11 +8,11 @@
<link rel="stylesheet" type="text/css" href="/common.css"/> <link rel="stylesheet" type="text/css" href="/common.css"/>
<link rel="stylesheet" type="text/css" href="/galene.css"/> <link rel="stylesheet" type="text/css" href="/galene.css"/>
<link rel="author" href="https://www.irif.fr/~jch/"/> <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="/third-party/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="/third-party/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/regular.min.css"/>
<link rel="stylesheet" type="text/css" href="/external/toastify/toastify.css"/> <link rel="stylesheet" type="text/css" href="/third-party/toastify/toastify.css"/>
<link rel="stylesheet" type="text/css" href="/external/contextual/contextual.css"/> <link rel="stylesheet" type="text/css" href="/third-party/contextual/contextual.css"/>
</head> </head>
<body> <body>
...@@ -304,8 +304,8 @@ ...@@ -304,8 +304,8 @@
</dialog> </dialog>
<script src="/protocol.js" defer></script> <script src="/protocol.js" defer></script>
<script src="/external/toastify/toastify.js" defer></script> <script src="/third-party/toastify/toastify.js" defer></script>
<script src="/external/contextual/contextual.js" defer></script> <script src="/third-party/contextual/contextual.js" defer></script>
<script src="/galene.js" defer></script> <script src="/galene.js" defer></script>
</body> </body>
</html> </html>
...@@ -190,7 +190,7 @@ func makeCachable(w http.ResponseWriter, p string, fi os.FileInfo, cachable bool ...@@ -190,7 +190,7 @@ func makeCachable(w http.ResponseWriter, p string, fi os.FileInfo, cachable bool
} }
cc := normalCacheControl cc := normalCacheControl
if strings.HasPrefix(p, "/external/") { if strings.HasPrefix(p, "/third-party/") {
cc = veryCachableCacheControl cc = veryCachableCacheControl
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment