pbr-ayct-backend/ayct_backend/__init__.py

11 lines
205 B
Python
Raw Normal View History

2021-12-01 14:25:42 +01:00
from flask import Flask
import pbrAyctCore.core as core
def create_app():
app = Flask('ayct-backend')
@app.route('/hello')
def hello():
return core.getTestString()
return app