mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2025-11-03 15:20:22 +01:00
fixes
This commit is contained in:
@@ -53,7 +53,7 @@ __details = dict(
|
||||
version=VERSION,
|
||||
)
|
||||
|
||||
app, db = FastAPI(**__details), create_engine(url=str(getenv('DATABASE', 'sqlite:///db.sqlite')))
|
||||
app, db = FastAPI(**__details), create_engine(str(getenv('DATABASE', 'sqlite:///db.sqlite')))
|
||||
db_init(db)
|
||||
|
||||
DLS_URL = str(getenv('DLS_URL', 'localhost'))
|
||||
|
||||
Reference in New Issue
Block a user