fix example and path

This commit is contained in:
Barry Deen 2024-09-06 19:26:42 -04:00
parent dc631d17b6
commit f3ed790a96
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
RELAY_NAME="utxo WoT relay"
RELAY_PUBKEY="e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
RELAY_DESCRIPTION="Only notes in utxo WoT"
DB_PATH="db"
RELAY_URL="wss://wot.utxo.one"
DB_PATH="db"
INDEX_PATH="templates/index.html"

View File

@ -107,7 +107,7 @@ func main() {
}
})
mux.Handle("/favicon.ico", http.StripPrefix("/", http.FileServer(http.Dir("/mnt/dev/bitvora/wot-relay/templates/static"))))
mux.Handle("/favicon.ico", http.StripPrefix("/", http.FileServer(http.Dir("templates/static"))))
fmt.Println("running on :3334")
http.ListenAndServe(":3334", relay)