Save new folder
This commit is contained in:
13
api.dsi.sophal.dz/hr_tickets/passenger_wsgi.py
Normal file
13
api.dsi.sophal.dz/hr_tickets/passenger_wsgi.py
Normal file
@ -0,0 +1,13 @@
|
||||
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()]
|
||||
Reference in New Issue
Block a user