Skip to content

Commit f9cc72a

Browse files
committed
fix: minor fixes
1 parent 12f8dbf commit f9cc72a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
curl -X POST http://localhost:3000/cs/<stream>
1+
curl http://localhost:3000/cs/<stream>
22
curl -X POST -d '{"<header>": "<body>","<header>": "<body>"}' -H "Content-Type: application/json" http://localhost:3000/w/<stream>
33
curl http://localhost:3000/r/<stream>
44
curl http://localhost:3000/ds/<stream>

test/test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var dbClient *client.Client
1212
var dbName string
1313

1414
func main() {
15-
uri := "chrono://admin:D!EO$H2i!MbIuZy8@127.0.0.1:3141/test11"
15+
uri := "chrono://admin:j1GwJOhbiEKBHkKu@127.0.0.1:3141/dev4"
1616
var err error
1717

1818
dbClient, dbName, err = client.Connect(uri)
@@ -30,7 +30,7 @@ func main() {
3030
r.GET("/ds/:stream", handleDeleteStream)
3131

3232
fmt.Println("Server listening on port 3000")
33-
err = r.Run(":3002")
33+
err = r.Run(":3000")
3434
if err != nil {
3535
fmt.Println("Error starting server:", err)
3636
}

0 commit comments

Comments
 (0)