-
Greetings.I started a new project with ServiceStack v6. I noticed that when I use routes starting with Is there any way to disable this? I want my Notes:Removing Working example: appHost.Routes.Add<JoinChatRequest>("/chat/join", ApplyTo.Get); Example producing a appHost.Routes.Add<JoinChatRequest>("/api/chat/join", ApplyTo.Get); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is due to the JSON /api pre-defined route that was added in v6.0 which can be explicitly can be disabled with: ConfigurePlugin<PredefinedRoutesFeature>(feature => feature.JsonApiRoute = null); |
Beta Was this translation helpful? Give feedback.
This is due to the JSON /api pre-defined route that was added in v6.0 which can be explicitly can be disabled with: