修改服务端部署配置

This commit is contained in:
2024-09-01 16:41:18 +08:00
parent 7e30cef008
commit fdac3b1433

View File

@@ -4,20 +4,20 @@ const config = {
// host:'server.tonesc.cn', // host:'server.tonesc.cn',
database: 'tonecn', database: 'tonecn',
user: 'root', user: 'root',
password: 'Shi15023847146' // password: 'Shi15023847146'
// password: '245565' password: '245565'
}, },
redis: { redis: {
port: 6379, port: 6379,
host: 'localhost', host: 'localhost',
password: '' // password: '2Pj4Ss9al3mS1'
// password: 'jhkdjhkjdhsIUTYURTU_f7EJZJ' password: 'jhkdjhkjdhsIUTYURTU_f7EJZJ'
}, },
jwt: { jwt: {
secret: '17e50223f4a545ec9e36ebf08e2f71bb', secret: '17e50223f4a545ec9e36ebf08e2f71bb',
expiresIn: '1d', expiresIn: '1d',
}, },
apiPort: 23500, apiPort: 8080,
} as const; } as const;
export default config; export default config;