chore(config): update allowed origins from bbs to withyou domain
Some checks failed
Build Backend / build (push) Failing after 46s
Build Backend / build-docker (push) Has been skipped

Update WebSocket and CORS allowed origins to reflect the project rename from "Carrot BBS" to "WithYou", changing bbs.littlelan.cn to withyou.littlelan.cn.
This commit is contained in:
lafay
2026-04-22 16:40:11 +08:00
parent 869d603fb0
commit 15e7c99353
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
package handler
package handler
import (
"context"
@@ -38,7 +38,7 @@ var upgrader = websocket.Upgrader{
}
var allowedWebSocketOrigins = []string{
"https://bbs.littlelan.cn",
"https://withyou.littlelan.cn",
"https://admin.littlelan.cn",
"https://browser.littlelan.cn",
"http://localhost:3000",