add new argument for allow origins and query without path and only uuid

This commit is contained in:
Adrian Zürcher
2025-05-28 22:05:47 +02:00
parent c57c22f93a
commit 9605b50198
7 changed files with 93 additions and 76 deletions

View File

@@ -142,7 +142,7 @@ func TestUpdateDps(t *testing.T) {
func TestServer(t *testing.T) {
fmt.Println("start")
server := server.NewServer()
server := server.NewServer([]string{".*"})
t.Fatal(server.ServeHttp(8100))
t.Fatal(server.ServeHttp("http://localhost", 8100))
}