diff --git a/README.MD b/README.MD index e5e10c3..82d8069 100644 --- a/README.MD +++ b/README.MD @@ -2,7 +2,7 @@ Open Signature Generator is a web based tool for generating and verifying handwritten-style signatures for documents. Signatures are saved as images with transparency and can be easily inserted into documents which need to be signed using LibreOffice, or any other document editing software. -![Example Signature Image](https://osg.jkdev.org/example-signature-inverted.png) +![Example Signature Image](https://osg.jkdev.org/example-signature-inverted.webp) ## Features diff --git a/server.py b/server.py index 61e9f7f..5d5aa3e 100644 --- a/server.py +++ b/server.py @@ -51,6 +51,8 @@ def run_server(host_ip, host_port, host_prefix, static_dir, database_connection, 'tools.staticdir.on': True, 'tools.staticdir.dir': static_dir, 'tools.staticdir.index': 'index.html', + 'tools.expires.on': True, + 'tools.expires.delay': 30*24*60*60, # 30 days }, '/images': { 'tools.caching.on': True, diff --git a/web_content/example-signature-inverted.webp b/web_content/example-signature-inverted.webp new file mode 100644 index 0000000..a0d45a2 Binary files /dev/null and b/web_content/example-signature-inverted.webp differ diff --git a/web_content/example-signature.webp b/web_content/example-signature.webp new file mode 100644 index 0000000..9884be9 Binary files /dev/null and b/web_content/example-signature.webp differ diff --git a/web_content/index.html b/web_content/index.html index 586a14e..b814b64 100644 --- a/web_content/index.html +++ b/web_content/index.html @@ -21,8 +21,8 @@
- Signature - + Signature +