fix: dates
All checks were successful
/ deploy (push) Successful in 35s

This commit is contained in:
ange 2024-11-19 10:16:15 +00:00
parent 25b1d70b89
commit 805d417a9a
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
2 changed files with 3 additions and 4 deletions

View File

@ -46,13 +46,13 @@
<h2 id="experience">EXPERIENCE</h2> <h2 id="experience">EXPERIENCE</h2>
<h3><b>Freelance</b> - DevOps</h3> <h3><b>Freelance</b> - DevOps</h3>
SEPTEMBER 2023 - Today SEPTEMBER 2023 - TODAY
<ul> <ul>
<li>Server setup (Debian, Docker/K8s, web server, customer application)</li> <li>Server setup (Debian, Docker/K8s, web server, customer application)</li>
<li>CI/CD, real-time monitoring</li> <li>CI/CD, real-time monitoring</li>
</ul> </ul>
<h3><b>EPITECH CodingClub association, Toulouse</b> - Cobra</h3> <h3><b>EPITECH CodingClub association, Toulouse</b> - Cobra</h3>
JANUARY 2021 - TODAY JANUARY 2021 - JUNE 2024
<ul> <ul>
<li>Coding workshops for high school students</li> <li>Coding workshops for high school students</li>
</ul> </ul>

View File

@ -4,7 +4,6 @@ import (
"log" "log"
"net/http" "net/http"
"path/filepath" "path/filepath"
"strings"
) )
func html(w http.ResponseWriter, r *http.Request) { func html(w http.ResponseWriter, r *http.Request) {
@ -12,7 +11,7 @@ func html(w http.ResponseWriter, r *http.Request) {
http.ServeFile(w, r, "/html/style.css") http.ServeFile(w, r, "/html/style.css")
return return
} }
if strings.HasPrefix(r.URL.Path, "/static/") { if len(r.URL.Path) > len("/static/") && r.URL.Path[:len("/static/")] == "/static/" {
http.ServeFile(w, r, r.URL.Path) http.ServeFile(w, r, r.URL.Path)
return return
} }