From 683c7b7149b47d6464c7fc0df96944341c493dd7 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 4 Aug 2018 00:03:05 -0700 Subject: [PATCH] aredn: remove duplicate file and minify I found a duplicated file in www, only 16k, but every bit matters now. Removed the duplicate and the replaced the file with a minified version. Updated www/cgi-bin/scan to use new minified file. Tested. works fine. --- files/www/cgi-bin/scan | 2 +- files/www/js/sorttable-min.js | 1 + files/www/js/sorttable.js | 495 ---------------------------------- files/www/sorttable.js | 495 ---------------------------------- 4 files changed, 2 insertions(+), 991 deletions(-) create mode 100644 files/www/js/sorttable-min.js delete mode 100644 files/www/js/sorttable.js delete mode 100644 files/www/sorttable.js diff --git a/files/www/cgi-bin/scan b/files/www/cgi-bin/scan index 4d850431..aa332068 100755 --- a/files/www/cgi-bin/scan +++ b/files/www/cgi-bin/scan @@ -57,7 +57,7 @@ system "mv /tmp/web/wscan.next /tmp/web/wscan" unless $parms{stop}; http_header(); html_header("$node WiFi scan", 0); print "\n" if -f "/tmp/web/autoscan"; -print ""; +print ""; print "