frhagn / Typewriter

Automatic TypeScript template generation from C# source files
http://frhagn.github.io/Typewriter
Apache License 2.0
536 stars 132 forks source link

Fixes issue #327 #328

Open rodro75 opened 4 years ago

rodro75 commented 4 years ago

As a bonus I also fixed an extra slash that is included in the $Url when the route of the c# method is "rebased" from the current RoutePrefix, as in "~/api/whatever". Before the fix, that would be translated to "//api/whatever". Now it would be translated to "/api/whatever", just like other urls.