pull/1/head
vasyahacker 2023-03-12 13:06:22 +04:00
parent 52e0d73526
commit dc42fc1fb3
2 changed files with 3 additions and 3 deletions

View File

@ -112,8 +112,8 @@ func main() {
www.Host = *host_opt
WebInit(&www)
fs := http.FileServer(http.Dir("lib"))
http.Handle("/lib/", http.StripPrefix("/lib/", fs))
fs := http.FileServer(http.Dir("style"))
http.Handle("/style/", http.StripPrefix("/style/", fs))
http.HandleFunc("/list.txt", func(w http.ResponseWriter, r *http.Request) {
echoes := db.Echoes(nil, ii.Query{})

View File

@ -3,7 +3,7 @@
<meta name="Robots" content="index,follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/style/icon.png" type="image/png">
<link rel="stylesheet" type="text/css" href="/style/style.css">
{{ if eq .Template "query.tpl" }}<link href="{{.PfxPath}}/{{.BasePath}}/rss" type="application/rss+xml" rel="alternate" title="{{.Sysname}} {{.BasePath}} :: RSS feed" />{{ end }}