Remove ?t from tailwind output file request

main
Araozu 2023-12-03 08:04:45 -05:00
parent ff8bb8d911
commit 1d88bdf442
2 changed files with 1 additions and 3 deletions

View File

@ -9,8 +9,6 @@ public class IndexController {
@GetMapping("/") @GetMapping("/")
public String index(Model model) { public String index(Model model) {
model.addAttribute("time", System.currentTimeMillis());
return "views/index"; return "views/index";
} }

View File

@ -8,7 +8,7 @@
<title>Jerguero</title> <title>Jerguero</title>
<!-- tailwind --> <!-- tailwind -->
<link th:href="|/main.css?t=${time}|" href="/main.css" rel="stylesheet"> <link href="/main.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>