add new argument for allow origins and query without path and only uuid
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
Reference in New Issue
Block a user