feat(event-proxy): event转发新增prev环境
This commit is contained in:
parent
4054693602
commit
df80ae9edc
@ -28,7 +28,11 @@ class AttachService extends NetToolBase {
|
|||||||
* @returns {Promise<void>} 返回空。
|
* @returns {Promise<void>} 返回空。
|
||||||
*/
|
*/
|
||||||
async proxyMiChatEvent(body: LarkEvent.Data) {
|
async proxyMiChatEvent(body: LarkEvent.Data) {
|
||||||
const hostList = ["michat-staging.ai.srv", "michat.ai.srv"]
|
const hostList = [
|
||||||
|
"michat-staging.ai.srv",
|
||||||
|
"michat-preview.ai.srv",
|
||||||
|
"michat.ai.srv",
|
||||||
|
]
|
||||||
const path = "/api/v1/bypass/robot_event_callback"
|
const path = "/api/v1/bypass/robot_event_callback"
|
||||||
for (const host of hostList) {
|
for (const host of hostList) {
|
||||||
const URL = `http://${host}${path}`
|
const URL = `http://${host}${path}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user