﻿#!C:\Python\Python311\python.exe
# -*- coding: utf-8 -*-
# wsgitest.py


# def application(environ, start_response):
#     status = '200 OK'
#     output = b'Hello Howtoforge!\n'
#     response_headers = [('Content-type', 'text/plain'),
#                         ('Content-Length', str(len(output)))]
#     start_response(status, response_headers)
#     return [output] 

# import sys
# import logging
# logging.basicConfig(stream=sys.stderr)
# sys.path.insert(0,"F:\xampp\htdocs\asia-tires.ruloc\www\telegram_esp32inputbot2\flask")
 
# from flask import app as application
# application.secret_key = 'fhkjdskjgf(anything)'

import platform
import sys
if platform.system() == "Windows":
    # print("Windows WindowsWindows Windows Windows ")
    sys.path.insert(0, 'F:\\xampp\\htdocs\\asia-tires.ruloc\\www\\telegram_esp32adv')
    pass
else:
    # print("Linux  Linux Linux Linux Linux Linux  ") 
    sys.path.insert(0, '/var/www/tb.evan.ru')
    pass           


#sys.path.insert(0, 'F:\\xampp\\htdocs\\asia-tires.ruloc\\www\\telegram_esp32adv')
from  ..flaskdir import app 


