diff --git a/.env.example b/.env.example index e5c869c..23fd632 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,6 @@ RELAY_NAME="utxo WoT relay" RELAY_PUBKEY="e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb" RELAY_DESCRIPTION="Only notes in utxo WoT" -DB_PATH="db" \ No newline at end of file +RELAY_URL="wss://wot.utxo.one" +DB_PATH="db" +INDEX_PATH="templates/index.html" \ No newline at end of file diff --git a/main.go b/main.go index aaa7c1f..01429b7 100644 --- a/main.go +++ b/main.go @@ -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)