mirror of
https://git.0x0.st/mia/0x0.git
synced 2025-04-19 14:53:02 +02:00
SUPPLEMENTALLY: - Add an `expiration` field to the `file` table of the database - Produce a migration for the above change - Overhaul the cleanup script, and integrate into fhost.py (now run using FLASK_APP=fhost flask prune) - Replace the old cleanup script with a deprecation notice - Add information about how to expire files to the index - Update the README with information about the new script
8 lines
174 B
Python
Executable file
8 lines
174 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
print("This script has been replaced!!")
|
|
print("Instead, please run")
|
|
print("")
|
|
print(" $ FLASK_APP=fhost flask prune --legacy")
|
|
print("")
|
|
exit(1);
|