chore(config): update allowed origins from bbs to withyou domain
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user