Commit ·
f75687e
1
Parent(s): 1838d55
Fix UTF-8 encoding for landing page emojis
Browse files
main.go
CHANGED
|
@@ -161,7 +161,7 @@ func (s *Server) handleRoot(w http.ResponseWriter, r *http.Request) {
|
|
| 161 |
http.NotFound(w, r)
|
| 162 |
return
|
| 163 |
}
|
| 164 |
-
w.Header().Set("Content-Type", "text/html")
|
| 165 |
html := `<!DOCTYPE html>
|
| 166 |
<html>
|
| 167 |
<head><title>GridMind-RL</title>
|
|
|
|
| 161 |
http.NotFound(w, r)
|
| 162 |
return
|
| 163 |
}
|
| 164 |
+
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
| 165 |
html := `<!DOCTYPE html>
|
| 166 |
<html>
|
| 167 |
<head><title>GridMind-RL</title>
|