...
This commit is contained in:
		| @@ -53,7 +53,7 @@ class MarkdownEditorApp: | ||||
|          | ||||
|         config = { | ||||
|             'host': self.config['server']['host'], | ||||
|             'port': self.config['server']['port'], | ||||
|             'port': int(os.environ.get('PORT', self.config['server']['port'])), | ||||
|             'provider_mapping': provider_mapping, | ||||
|             'verbose': self.config['webdav'].get('verbose', 1), | ||||
|             'logging': { | ||||
| @@ -179,7 +179,7 @@ def main(): | ||||
|      | ||||
|     # Get server config | ||||
|     host = app.config['server']['host'] | ||||
|     port = app.config['server']['port'] | ||||
|     port = int(os.environ.get('PORT', app.config['server']['port'])) | ||||
|      | ||||
|     print(f"\nServer starting on http://{host}:{port}") | ||||
|     print(f"\nAvailable collections:") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user