From 19bb3e7c7767f6c658ca08700a0fe00a852839c3 Mon Sep 17 00:00:00 2001 From: Zhang Minghan <112773885+zmh-program@users.noreply.github.com> Date: Sat, 7 Oct 2023 19:21:32 +0800 Subject: [PATCH] update cors --- globals/variables.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/globals/variables.go b/globals/variables.go index 8efb5274..eab0789a 100644 --- a/globals/variables.go +++ b/globals/variables.go @@ -11,8 +11,8 @@ var AllowedOrigins = []string{ "https://www.chatnio.net", "https://nextweb.chatnio.net", "http://localhost:5173", - "http://start.ovotun.ates.top/", - "https://start.ovotun.ates.top/", + "http://start.ovotun.ates.top", + "https://start.ovotun.ates.top", } const (