23 lines
477 B
TypeScript
23 lines
477 B
TypeScript
const config = {
|
|
cors: {
|
|
origin: ['http://localhost:5173'],
|
|
allowedHeaders: ['Content-Type'],
|
|
methods: ['GET', 'POST']
|
|
},
|
|
mysql: {
|
|
enable: false,
|
|
host: 'localhost',
|
|
port: 3306,
|
|
database: '',
|
|
user: 'root',
|
|
password: ''
|
|
},
|
|
redis: {
|
|
enable: false,
|
|
host: 'localhost',
|
|
port: 6379,
|
|
password: '' // localhost
|
|
},
|
|
API_Port: 8080
|
|
};
|
|
export default config; |