Compare commits

...

3 Commits

Author SHA1 Message Date
xboard
01b1141125 fix: correct know file issues
Some checks failed
Docker Build and Publish / build (push) Has been cancelled
2025-01-15 20:22:44 +08:00
xboard
e8e1316a39 chore: update Dockerfile 2025-01-15 19:12:50 +08:00
xboard
d577376626 fix(admin): correct know file issues 2025-01-15 18:00:32 +08:00
9 changed files with 5690 additions and 182 deletions

View File

@ -19,7 +19,7 @@ RUN composer install --optimize-autoloader --no-cache --no-dev \
&& mkdir -p /data \
&& chown redis:redis /data
ENV ENABLE_WEB=false \
ENABLE_HORIZON=false \
ENABLE_REDIS=false
ENV ENABLE_WEB=true \
ENABLE_HORIZON=true \
ENABLE_REDIS=true
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]

View File

@ -29,6 +29,7 @@ class AuthService
$formattedToken = 'Bearer ' . ($tokenParts[1] ?? $tokenParts[0]);
return [
'token' => $this->user->token,
'auth_data' => $formattedToken,
'is_admin' => $this->user->is_admin,
];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1977
public/assets/admin/locales/en-US.js vendored Normal file

File diff suppressed because it is too large Load Diff

1648
public/assets/admin/locales/ko-KR.js vendored Normal file

File diff suppressed because it is too large Load Diff

1943
public/assets/admin/locales/zh-CN.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -17,6 +17,9 @@
<script type="module" crossorigin src="/assets/admin/assets/index.js"></script>
<link rel="stylesheet" crossorigin href="/assets/admin/assets/index.css" />
<link rel="stylesheet" crossorigin href="/assets/admin/assets/vendor.css">
<script src="/assets/admin/locales/en-US.js"></script>
<script src="/assets/admin/locales/zh-CN.js"></script>
<script src="/assets/admin/locales/ko-KR.js"></script>
</head>
<body>