housekeep: copy static files

we copy static files used by PHP and Python versions into /static

preparation work for the removal of the PHP version

Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
moson-mo 2023-04-22 11:39:00 +02:00
parent 1325c71712
commit 97d0eac303
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
27 changed files with 2874 additions and 5 deletions

View file

@ -79,11 +79,7 @@ async def app_startup():
"endpoint is disabled."
)
app.mount("/static/css", StaticFiles(directory="web/html/css"), name="static_css")
app.mount("/static/js", StaticFiles(directory="web/html/js"), name="static_js")
app.mount(
"/static/images", StaticFiles(directory="web/html/images"), name="static_images"
)
app.mount("/static", StaticFiles(directory="static"), name="static_files")
# Add application routes.
def add_router(module):