Initial commit

This commit is contained in:
2025-12-10 22:47:38 +01:00
parent e98d8c5c1b
commit f78c4d389d
2870 changed files with 641720 additions and 0 deletions

17
cgi-bin/flask_cgi.py Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env python
import cgitb; cgitb.enable()
import os
import sys
from wsgiref.simple_server import make_server
# Path to your app.py
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
# Import your Flask app
import app
# Run the WSGI server
if __name__ == '__main__':
# Cottage-style server for CGI
from wsgiref.handlers import CGIHandler
CGIHandler().run(app.app)