This commit is contained in:
parent
25b1d70b89
commit
805d417a9a
@ -46,13 +46,13 @@
|
||||
|
||||
<h2 id="experience">EXPERIENCE</h2>
|
||||
<h3><b>Freelance</b> - DevOps</h3>
|
||||
SEPTEMBER 2023 - Today
|
||||
SEPTEMBER 2023 - TODAY
|
||||
<ul>
|
||||
<li>Server setup (Debian, Docker/K8s, web server, customer application)</li>
|
||||
<li>CI/CD, real-time monitoring</li>
|
||||
</ul>
|
||||
<h3><b>EPITECH CodingClub association, Toulouse</b> - Cobra</h3>
|
||||
JANUARY 2021 - TODAY
|
||||
JANUARY 2021 - JUNE 2024
|
||||
<ul>
|
||||
<li>Coding workshops for high school students</li>
|
||||
</ul>
|
||||
|
3
main.go
3
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user