You've already forked openaccounting-server
mirror of
https://github.com/openaccounting/oa-server.git
synced 2025-12-09 09:00:42 +13:00
don't use prefix for /ws
This commit is contained in:
@@ -33,7 +33,7 @@ func GetRouter(auth *AuthMiddleware, prefix string) (rest.App, error) {
|
||||
rest.Get(prefix + "/orgs/:orgId/prices", auth.RequireAuth(GetPrices)),
|
||||
rest.Post(prefix + "/orgs/:orgId/prices", auth.RequireAuth(PostPrice)),
|
||||
rest.Delete(prefix + "/orgs/:orgId/prices/:priceId", auth.RequireAuth(DeletePrice)),
|
||||
rest.Get(prefix + "/ws", ws.Handler),
|
||||
rest.Get("/ws", ws.Handler),
|
||||
rest.Post(prefix + "/sessions", auth.RequireAuth(PostSession)),
|
||||
rest.Delete(prefix + "/sessions/:sessionId", auth.RequireAuth(DeleteSession)),
|
||||
rest.Get(prefix + "keys", auth.RequireAuth(GetApiKeys)),
|
||||
|
||||
Reference in New Issue
Block a user