openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit dc42fc1fb3bf1d32d0ba3837d7d30931d676eee1
parent 52e0d73526128320217c43d6b1ede09de7d75d6d
Author: vasyahacker <vasya@magicfreedom.com>
Date:   Sun, 12 Mar 2023 13:06:22 +0400

fixes

Diffstat:
Mcmd/ii-node/main.go | 4++--
Mwww/tpl/header.tpl | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/ii-node/main.go b/cmd/ii-node/main.go @@ -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{}) diff --git a/www/tpl/header.tpl b/www/tpl/header.tpl @@ -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 }}