|
|
|
@ -34,9 +34,9 @@ def about():
|
|
|
|
|
|
|
|
|
|
# UPLOAD FILES
|
|
|
|
|
# THIS SHOULD BE IN CONFIG
|
|
|
|
|
app.config["BOOK_UPLOAD_DEWATERMARK"] = "/var/www/TacticalApp/app/static/dewatermark"
|
|
|
|
|
app.config["BOOK_UPLOAD_REPUBLISH"] = "/var/www/TacticalApp/app/static/republish"
|
|
|
|
|
app.config["BOOK_REQUEST"] = "/var/www/TacticalApp/app/static/request"
|
|
|
|
|
app.config["BOOK_UPLOAD_DEWATERMARK"] = "app/static/dewatermark"
|
|
|
|
|
app.config["BOOK_UPLOAD_REPUBLISH"] = "app/static/republish"
|
|
|
|
|
app.config["BOOK_REQUEST"] = "app/static/request"
|
|
|
|
|
app.config["ALLOWED_BOOK_EXTENSIONS"] = ["PDF", "EPUB"]
|
|
|
|
|
app.config["MAX_BOOK_FILESIZE"] = 500000000
|
|
|
|
|
|
|
|
|
|