From f3ed790a96e5bcfd59f968abc746d08158f8e19a Mon Sep 17 00:00:00 2001 From: Barry Deen Date: Fri, 6 Sep 2024 19:26:42 -0400 Subject: [PATCH] fix example and path --- .env.example | 4 +++- main.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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)