修复招聘公告导出500并增加图片缓存压缩
This commit is contained in:
+1
-1
@@ -771,7 +771,7 @@ app = FastAPI(title="WorkLog 活动记录", version="2.0.0", lifespan=lifespan)
|
||||
center.install(app, get_db, current_user, lambda: _db_path.parent / 'uploads', visible_clause)
|
||||
center_duty.install(app, get_db, current_user)
|
||||
center_export.install(app, get_db, current_user, visible_clause, lambda: _db_path.parent / 'uploads')
|
||||
recruit.install(app, get_db, current_user)
|
||||
recruit.install(app, get_db, current_user, _db_path.parent / 'recruit-images')
|
||||
|
||||
def timetable_collectors():
|
||||
values = os.getenv('WORKLOG_TIMETABLE_COLLECTORS')
|
||||
|
||||
Reference in New Issue
Block a user