You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
232 B
10 lines
232 B
from fastapi import FastAPI
|
|
from sub_applications.staticfiles import mount_staticfiles
|
|
|
|
|
|
def handle_sub_applications(app: FastAPI):
|
|
"""
|
|
全局处理子应用挂载
|
|
"""
|
|
# 挂载静态文件
|
|
mount_staticfiles(app)
|
|
|