mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Add development config files and wiring to include them in the shell build. Creates packages/napcat-develop/config/.env and packages/napcat-develop/config/onebot11.json, adds a root script `build🐚config` that builds napcat-shell and then runs napcat-develop's `copy-env` script. Update packages/napcat-develop/package.json to add the `copy-env` script (uses xcopy to copy config into the napcat-shell dist), tidy exports and metadata. This ensures dev configuration is packaged into napcat-shell during the build process.
39 lines
852 B
JSON
39 lines
852 B
JSON
{
|
|
"network": {
|
|
"httpServers": [
|
|
{
|
|
"enable": true,
|
|
"name": "HTTP",
|
|
"host": "127.0.0.1",
|
|
"port": 3000,
|
|
"enableCors": true,
|
|
"enableWebsocket": false,
|
|
"messagePostFormat": "array",
|
|
"token": "",
|
|
"debug": false
|
|
}
|
|
],
|
|
"httpSseServers": [],
|
|
"httpClients": [],
|
|
"websocketServers": [
|
|
{
|
|
"enable": true,
|
|
"name": "WebSocket",
|
|
"host": "127.0.0.1",
|
|
"port": 3001,
|
|
"reportSelfMessage": false,
|
|
"enableForcePushEvent": true,
|
|
"messagePostFormat": "array",
|
|
"token": "",
|
|
"debug": false,
|
|
"heartInterval": 30000
|
|
}
|
|
],
|
|
"websocketClients": [],
|
|
"plugins": []
|
|
},
|
|
"musicSignUrl": "",
|
|
"enableLocalFile2Url": false,
|
|
"parseMultMsg": false,
|
|
"imageDownloadProxy": ""
|
|
} |