This commit is contained in:
parent
25b1d70b89
commit
805d417a9a
@ -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>
|
||||||
|
3
main.go
3
main.go
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user