mirror of
https://github.com/wassname/flask-cloudy.git
synced 2026-09-09 11:22:27 +08:00
Merge pull request #4 from wassname/patch-4
Set default for STORAGE_SERVER to True
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ class Storage(object):
|
||||
secret = app.config.get("STORAGE_SECRET", None)
|
||||
container = app.config.get("STORAGE_CONTAINER", None)
|
||||
allowed_extensions = app.config.get("STORAGE_ALLOWED_EXTENSIONS", None)
|
||||
serve_files = app.config.get("STORAGE_SERVER", False)
|
||||
serve_files = app.config.get("STORAGE_SERVER", True)
|
||||
serve_files_url = app.config.get("STORAGE_SERVER_URL", "files")
|
||||
|
||||
self.config["serve_files"] = serve_files
|
||||
|
||||
Reference in New Issue
Block a user