app1.cgi1 lines ASCII Unix (LF) #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
""" cgi-script to execute a WSGI application """
from wsgiref.handlers import CGIHandler
from app import app
try:
CGIHandler().run(app)
except Exception as e:
print(e)
exit(1)