diff --git a/api/http_handler.go b/api/http_handler.go index 34ea7af..e9a688a 100644 --- a/api/http_handler.go +++ b/api/http_handler.go @@ -55,6 +55,7 @@ func BuildRouter(listenAddress string) { mainRouter.HandleFunc("/", serveStaticFile("index.html")) mainRouter.HandleFunc("/index.js", serveStaticFile("index.js")) mainRouter.HandleFunc("/index.css", serveStaticFile("index.css")) + mainRouter.HandleFunc("/favicon.svg", serveStaticFile("favicon.svg")) api_router := mainRouter.PathPrefix("/api").Subrouter() api_router.HandleFunc("/session", createSession).Methods("POST") diff --git a/front_files/favicon.svg b/front_files/favicon.svg new file mode 100644 index 0000000..3e3a1fd --- /dev/null +++ b/front_files/favicon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/front_files/index.html b/front_files/index.html index 3a63cad..23d29d4 100644 --- a/front_files/index.html +++ b/front_files/index.html @@ -6,6 +6,8 @@ Echo: True Peer-to-Peer file and text transfers + +