Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/ops/celery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from celery.schedules import crontab
from kombu import Exchange, Queue
from smartdoc import settings
from .heatbeat import *
from .heartbeat import *

# set the default Django settings module for the 'celery' program.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'smartdoc.settings')
Comment thread
liuruibin marked this conversation as resolved.
Comment thread
liuruibin marked this conversation as resolved.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const typeList: any = {
export function getImgUrl(name: string) {
const list = Object.values(typeList).flat()

const type = list.includes(fileType(name).toLowerCase()) ? fileType(name).toLowerCase() : 'unknow'
const type = list.includes(fileType(name).toLowerCase()) ? fileType(name).toLowerCase() : 'unknown'
return new URL(`../assets/fileType/${type}-icon.svg`, import.meta.url).href
}
// 是否是白名单后缀
Comment thread
liuruibin marked this conversation as resolved.
Comment thread
liuruibin marked this conversation as resolved.
Expand Down