parent
4153c7938c
commit
78b58c7547
13
frontend/src/config.js
Normal file
13
frontend/src/config.js
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// 前端配置
|
||||||
|
const config = {
|
||||||
|
apiBase: process.env.API_URL || 'http://localhost:3000/api',
|
||||||
|
uploadMaxSize: 100 * 1024 * 1024, // 100MB
|
||||||
|
allowedFileTypes: ['jpg', 'jpeg', 'png', 'gif', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'txt', 'md', 'zip', 'rar'],
|
||||||
|
theme: {
|
||||||
|
primaryColor: '#1890ff',
|
||||||
|
fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto',
|
||||||
|
},
|
||||||
|
syncInterval: 5 * 60 * 1000, // 5分钟
|
||||||
|
};
|
||||||
|
|
||||||
|
window.CloudDiskConfig = config;
|
||||||
Loading…
Reference in New Issue
Block a user