Automatic upload folder creation if not exists.
All checks were successful
RUpload build / Build (push) Successful in 1m2s
All checks were successful
RUpload build / Build (push) Successful in 1m2s
This commit is contained in:
parent
2f6ecfe06d
commit
983d4d668f
@ -287,7 +287,7 @@ def create_app(
|
|||||||
max_file_size=max_file_size,
|
max_file_size=max_file_size,
|
||||||
upload_folder_quota=upload_folder_quota,
|
upload_folder_quota=upload_folder_quota,
|
||||||
)
|
)
|
||||||
pathlib.Path(upload_path).mkdir(parents=True, exist_ok=True
|
pathlib.Path(upload_path).mkdir(parents=True, exist_ok=True)
|
||||||
app.add_routes(
|
app.add_routes(
|
||||||
[
|
[
|
||||||
web.get("/", handle_index),
|
web.get("/", handle_index),
|
||||||
|
Loading…
Reference in New Issue
Block a user