add port selection
This commit is contained in:
parent
033f5ba404
commit
edf2544c4a
|
@ -18,10 +18,13 @@ custom_curl_command = None
|
|||
|
||||
# This is where the screenshots are saved locally
|
||||
local_directory = '/home/kageru/pyshare/'
|
||||
|
||||
# Directory on the ftp server where you want the screenshots to be sent to
|
||||
remote_directory = '/usr/share/nginx/html/pyshare/'
|
||||
# Template for the link that the script will generate. {} is the filename
|
||||
url_template = 'https://your_domain.com/pyshare/{}'
|
||||
remote_port = 5000
|
||||
|
||||
# In case you want a certain prefix for all files. Can also be an empty string
|
||||
prefix = ''
|
||||
# Number of random characters in the filename
|
||||
|
|
|
@ -67,4 +67,4 @@ def receive_file() -> tuple:
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(ssl_context='adhoc')
|
||||
app.run(ssl_context='adhoc', port=config.remote_port)
|
||||
|
|
Loading…
Reference in New Issue
Block a user