aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--readme.rst2
-rwxr-xr-xshareit/shareit.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/readme.rst b/readme.rst
index 8044f57..310ca61 100644
--- a/readme.rst
+++ b/readme.rst
@@ -16,7 +16,7 @@ This service supports resume, useful for big files.
Created urls have the following form:
- http://shareit.exemple.com/download/90580754da3ed1b3e4be38c9b277bc9b
+ https://shareit.exemple.com/download/90580754da3ed1b3e4be38c9b277bc9b
No real security is implemented, it is a quick and dirty hack.
diff --git a/shareit/shareit.py b/shareit/shareit.py
index 8f841d3..4d0dbb6 100755
--- a/shareit/shareit.py
+++ b/shareit/shareit.py
@@ -61,7 +61,7 @@ def upload_route():
if not size:
bottle.abort(400, 'File should not be empty')
digest = md5.hexdigest()
- link = 'http://shareit.devys.org/download/{digest}'.format(digest=digest)
+ link = 'https://shareit.devys.org/download/{digest}'.format(digest=digest)
fp.seek(0)
filename = Path(FILES_DIR, digest)
upload.save(filename.as_posix(), overwrite=True)