forked from claw/flaskpaste
Features: - REST API for text/binary pastes with MIME detection - Client certificate auth via X-SSL-Client-SHA1 header - SQLite with WAL mode for concurrent access - Automatic paste expiry with LRU cleanup Security: - HSTS, CSP, X-Frame-Options, X-Content-Type-Options - Cache-Control: no-store for sensitive responses - X-Request-ID tracing for log correlation - X-Proxy-Secret validation for defense-in-depth - Parameterized queries, input validation - Size limits (3 MiB anon, 50 MiB auth) Includes /health endpoint, container support, and 70 tests.
9 lines
192 B
Python
Executable File
9 lines
192 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Development server entry point."""
|
|
|
|
from app import create_app
|
|
|
|
if __name__ == "__main__":
|
|
app = create_app("development")
|
|
app.run(host="0.0.0.0", port=5000)
|