Skip to content

Commit 4d68000

Browse files
authored
Use [controller] by default instead of /api
1 parent 4c9b18a commit 4d68000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Initium/ApiController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Initium;
66

77
[ApiController]
8-
[Route("api/[controller]")]
8+
[Route("[controller]")]
99
[TypeFilter(typeof(ApiExceptionFilter))]
1010
[TypeFilter(typeof(ApiResponseFilter))]
1111
[TypeFilter(typeof(ImplicitValidationFilter))]

0 commit comments

Comments
 (0)