重构后端,完善获取资源/下载列表、博客列表接口
This commit is contained in:
15
Server/src/config.ts
Normal file
15
Server/src/config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
const config = {
|
||||
mysql: {
|
||||
host: 'localhost',
|
||||
// host:'server.tonesc.cn',
|
||||
database: 'tonecn',
|
||||
user: 'root',
|
||||
password: 'Shi15023847146'
|
||||
// password: '245565'
|
||||
},
|
||||
authToken: '17e50223f4a545ec9e36ebf08e2f71bb',
|
||||
adminToken: '3a6f71412f9e48b9bbbd056aa7eb5467',
|
||||
apiPort: 23500,
|
||||
} as const;
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user