feat(event-proxy): 去除掉prev环境的转发
This commit is contained in:
parent
179d3701fc
commit
84ab136492
@ -28,11 +28,7 @@ class AttachService extends NetToolBase {
|
|||||||
* @returns {Promise<void>} 返回空。
|
* @returns {Promise<void>} 返回空。
|
||||||
*/
|
*/
|
||||||
async proxyMiChatEvent(body: LarkEvent.Data) {
|
async proxyMiChatEvent(body: LarkEvent.Data) {
|
||||||
const hostList = [
|
const hostList = ["michat-staging.ai.srv", "michat.ai.srv"]
|
||||||
"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