Browse Source

fixed bluemark logo

Andrew Tridgell 3 years ago
parent
commit
4d8099036c
2 changed files with 4 additions and 3 deletions
  1. 3 3
      RemoteIDModule/Makefile
  2. 1 0
      RemoteIDModule/webinterface.cpp

+ 3 - 3
RemoteIDModule/Makefile

@@ -45,8 +45,8 @@ headers:
 	@../scripts/git-version.sh
 	@cd .. && scripts/regen_headers.sh
 
-romfs_files.h: web/*.html web/js/*.js web/styles/*css web/images/*.jpg public_keys/*.dat
-	@../scripts/make_romfs.py romfs_files.h web/*.html web/js/*.js web/styles/*css web/images/*.jpg public_keys/*.dat
+romfs_files.h: web/*.html web/js/*.js web/styles/*css web/images/*.jpg web/images/*.png public_keys/*.dat
+	@../scripts/make_romfs.py romfs_files.h web/*.html web/js/*.js web/styles/*css web/images/*.jpg web/images/*.png public_keys/*.dat
 
 ArduRemoteID-%.bin: *.cpp *.ino *.h romfs_files.h
 	@echo "Building $* on $(CHIP)"
@@ -76,5 +76,5 @@ uploadota-%: checkdev
 upload: upload-ESP32S3_DEV
 
 clean:
-	rm -rf ..esp32* *.bin build*
+	rm -rf ..esp32* *.bin build* romfs_files.h
 

+ 1 - 0
RemoteIDModule/webinterface.cpp

@@ -44,6 +44,7 @@ class ROMFS_Handler : public RequestHandler
         } extensions[] = {
             { ".js", "text/javascript" },
             { ".jpg", "image/jpeg" },
+            { ".png", "image/png" },
             { ".css", "text/css" },
         };
         for (const auto &e : extensions) {