diff --git a/deploy.py b/deploy.py index d3dd4dc..33a605f 100644 --- a/deploy.py +++ b/deploy.py @@ -6,7 +6,6 @@ from io import BytesIO # init ftp -print(getenv('FTP_SERVER')) ftp = FTP(getenv('FTP_SERVER')) ftp.login(getenv('FTP_USER'), getenv('FTP_PASSWORD')) @@ -15,7 +14,7 @@ chdir('html') for f in [i for i in listdir() if i.endswith('.html')]: # 1. Minify the index.html file using minify-html - minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, do_not_minify_doctype=True) + minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, minify_js=True, do_not_minify_doctype=True) # 2. Upload the file to an FTP server diff --git a/html/port-calc.html b/html/port-calc.html index 06e2e4a..4720db4 100644 --- a/html/port-calc.html +++ b/html/port-calc.html @@ -4,6 +4,13 @@ dn724 + +

Port: