Moge-Row commited on
Commit
7a15fa1
·
1 Parent(s): b17c2c8

fix static path

Browse files
Files changed (1) hide show
  1. internal/handler/index.go +1 -1
internal/handler/index.go CHANGED
@@ -10,7 +10,7 @@ if r.URL.Path != "/" {
10
  http.NotFound(w, r)
11
  return
12
  }
13
- content, err := os.ReadFile("static/index.html")
14
  if err != nil {
15
  http.Error(w, "Page not found", 404)
16
  return
 
10
  http.NotFound(w, r)
11
  return
12
  }
13
+ content, err := os.ReadFile("/app/static/index.html")
14
  if err != nil {
15
  http.Error(w, "Page not found", 404)
16
  return