testing of example
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-11-28 17:17:04 +01:00
parent c569a79cf1
commit 11d63ce765
10 changed files with 108 additions and 21 deletions

View File

@@ -0,0 +1,10 @@
from flask import Flask
def create_app():
app = Flask(__name__)
@app.route("/")
def hello_world():
return "Hello, World!"
return app

View File

@@ -0,0 +1,4 @@
import os
class Config:
SECRET_KEY = os.environ.get("SECRET_KEY", "default_secret_key")

View File

@@ -0,0 +1,3 @@
from . import create_app
app = create_app()