Beispiel #1
0
from webhook import app

if __name__ == "__main__":
    app.run()
Beispiel #2
0
from os import path
from webhook import app
app.config.from_pyfile(path.join(path.dirname(path.abspath(__file__)), 'config', 'webhook.py'))
if __name__ == '__main__':
    app.run(debug=True)
Beispiel #3
0
from webhook import app
import os

if __name__ == "__main__":
    app.run(debug=True)
Beispiel #4
0
# -*- coding: utf-8 -*-
from werkzeug.contrib.fixers import ProxyFix
from webhook import app

__author__ = "mkr"

app.wsgi_app = ProxyFix(app.wsgi_app)

if __name__ == "__main__":
    app.run()