Skip to content

Commit 117eefe

Browse files
committed
route fix
1 parent a6fdd7d commit 117eefe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rxtx.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ func main() {
136136
r.OPTIONS(rxRoute, preflight)
137137

138138
rxRouteSync := "/rxs/:producer/:key/*label"
139-
r.POST(rxRoute, q.RxRouteHandler)
140-
r.OPTIONS(rxRoute, preflight)
139+
r.POST(rxRouteSync, q.RxRouteHandler)
140+
r.OPTIONS(rxRouteSync, preflight)
141141

142142
rxRouteAsync := "/rxa/:producer/:key/*label"
143143
r.POST(rxRouteAsync, q.RxRouteHandlerAsync)

0 commit comments

Comments
 (0)