This commit is contained in:
Rao 2025-03-05 09:37:45 +08:00
parent a89bab599c
commit 7d21f45eca
3 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ export class InitService {
},
});
this.logger.log(`Created new taxonomy: ${taxonomy.name}`);
} else {
} else if(process.env.NODE_ENV === 'development'){
// Check for differences and update if necessary
const differences = Object.keys(taxonomy).filter(
(key) => taxonomy[key] !== existingTaxonomy[key],

View File

@ -214,7 +214,7 @@ export default function MindEditor({ id }: { id?: string }) {
multiple
/>
</Form.Item>
{id ? <JoinButton></JoinButton> : <></>}
{post && id ? <JoinButton></JoinButton> : <></>}
</div>
<div>
{canEdit && (

View File

@ -100,7 +100,7 @@ server {
# 仅供内部使用
internal;
# 代理到认证服务
proxy_pass http://host.docker.internal:3000/auth/file;
proxy_pass http://host.docker.internal:3001/auth/file;
# 请求优化:不传递请求体
proxy_pass_request_body off;