]> git.example.dev Git - binbsis50-sm.git/commitdiff
missing cors? i hope
author2weiEmu <saalbach.robert@outlook.de>
Fri, 13 Mar 2026 17:30:38 +0000 (18:30 +0100)
committer2weiEmu <saalbach.robert@outlook.de>
Fri, 13 Mar 2026 17:30:38 +0000 (18:30 +0100)
main.go

diff --git a/main.go b/main.go
index 50ce94fc1f67f5492829c2242100c2e267bb7334..53e98a00c8c5528ae8e5eb05b0cfce8d9a0b4c68 100644 (file)
--- a/main.go
+++ b/main.go
@@ -54,7 +54,7 @@ func main() {
        mainLogger.Println("Starting server...")
 
        c := cors.New(cors.Options{
-               AllowedOrigins: []string{"http://localhost:8000"},
+               AllowedOrigins: []string{"http://localhost:8000", "http://assemble:8000"},
                AllowCredentials: true,
        })