diff --git a/html/resume.html b/html/resume.html
index 836a7a7..87e62ce 100644
--- a/html/resume.html
+++ b/html/resume.html
@@ -46,13 +46,13 @@
EXPERIENCE
Freelance - DevOps
- SEPTEMBER 2023 - Today
+ SEPTEMBER 2023 - TODAY
- Server setup (Debian, Docker/K8s, web server, customer application)
- CI/CD, real-time monitoring
EPITECH CodingClub association, Toulouse - Cobra
- JANUARY 2021 - TODAY
+ JANUARY 2021 - JUNE 2024
- Coding workshops for high school students
diff --git a/main.go b/main.go
index e5309d1..293565e 100644
--- a/main.go
+++ b/main.go
@@ -4,7 +4,6 @@ import (
"log"
"net/http"
"path/filepath"
- "strings"
)
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")
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)
return
}