Skip to content

Commit 2f5eab1

Browse files
committed
fix: restore lint and Docker theme build
1 parent 6bb1ef0 commit 2f5eab1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
5454
echo 'Asia/Shanghai' > /etc/timezone
5555

5656
# 从构建阶段复制编译好的前端主题
57-
COPY --from=frontend-builder /build/fronted-2024/dist ./themes/2024
57+
COPY --from=frontend-builder /build/FileCodeBox/themes/2024 ./themes/2024
5858
COPY --from=frontend-builder /build/fronted-2023/dist ./themes/2023
5959

6060
# 安装系统安全更新 + Python 依赖

‎apps/base/views.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
from fastapi import APIRouter, Form, Request, UploadFile, File, Depends, HTTPException
1212
from pydantic import BaseModel, ValidationError
13+
from starlette import status
1314
from starlette.responses import HTMLResponse, Response
1415
from tortoise.expressions import Case, F, Q, When
1516

0 commit comments

Comments
 (0)