Files
tonePage/Server/src/config.ts
2024-09-01 16:41:18 +08:00

23 lines
515 B
TypeScript

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