work
All checks were successful
/ deploy (push) Successful in 25s

This commit is contained in:
Minecon724 2024-05-12 18:16:21 +02:00
parent 579ae8d988
commit b9c06d865f
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ chdir('html')
for f in [i for i in listdir() if i.endswith('.html')]: for f in [i for i in listdir() if i.endswith('.html')]:
# 1. Minify the index.html file using minify-html # 1. Minify the index.html file using minify-html
minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, minify_doctype=False) minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, do_not_minify_doctype=True)
# 2. Upload the file to an FTP server # 2. Upload the file to an FTP server

View file

@ -1,2 +1,2 @@
requests requests
minify-html minify-html==0.15.0