From 893472e36a671047006e5f32dbdf0a62e35ed428 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sun, 2 Jan 2022 20:05:13 -0800 Subject: [PATCH] Update text and tar URL --- src/mesh/http/ContentHandler.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mesh/http/ContentHandler.cpp b/src/mesh/http/ContentHandler.cpp index 38fab4848..737335b83 100644 --- a/src/mesh/http/ContentHandler.cpp +++ b/src/mesh/http/ContentHandler.cpp @@ -57,7 +57,7 @@ char contentTypes[][2][32] = {{".txt", "text/plain"}, {".html", "text/html"} {".css", "text/css"}, {".ico", "image/vnd.microsoft.icon"}, {".svg", "image/svg+xml"}, {"", ""}}; -const char *tarURL = "https://www.casler.org/temp/meshtastic-web.tar"; +const char *tarURL = "https://github.com/meshtastic/meshtastic-web/releases/download/latest/build.tar"; const char *certificate = NULL; // change this as needed, leave as is for no TLS check (yolo security) // Our API to handle messages to and from the radio. @@ -368,7 +368,7 @@ void handleStatic(HTTPRequest *req, HTTPResponse *res) DEBUG_MSG("File not available - %s\n", filenameGzip.c_str()); res->println("Web server is running.

The content you are looking for can't be found. Please see: FAQ.

stats"); + "href=/json/report>stats

Experemntal Web Content OTA Update"); } else { res->setHeader("Content-Encoding", "gzip"); } @@ -742,8 +742,6 @@ void handleUpdateSPIFFS(HTTPRequest *req, HTTPResponse *res) } else break; } - - res->println("Done"); } } else {