Structure synchronised with Apache server on Zume. Styles improved. Store removed from app2.py

This commit is contained in:
2024-04-30 14:49:05 +01:00
parent 6f6fbbcca9
commit 7b4d1ae1b0
43 changed files with 5682 additions and 30 deletions

15
passenger_wsgi.py Normal file
View File

@@ -0,0 +1,15 @@
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
def application(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
message = 'It works!\n'
version = 'Python %s\n' % sys.version.split()[0]
response = '\n'.join([message, version])
return [response.encode()]
from app2 import app as application # Import the Flask application from app.py