Better docs
All checks were successful
Build and push Docker image at git tag / build (push) Successful in 7m7s

This commit is contained in:
2024-10-08 13:20:04 +02:00
parent 28eee676c4
commit afc35be35a
16 changed files with 1586 additions and 192 deletions

View File

@ -8,6 +8,8 @@
# source code released under the terms of GNU Public License Version 3
# https://www.gnu.org/licenses/gpl-3.0.txt
import os
from fastapi import FastAPI, Request
from fastapi.templating import Jinja2Templates
@ -77,6 +79,6 @@ class WebMain():
return ex
if __name__ == "ums.management.main":
if __name__ == "ums.management.main" and os.environ.get('SERVE', 'false') == 'true':
main = WebMain()
app = main.app