Skip to content

Commit cbdbbbf

Browse files
committed
Update WebService.
1 parent 8168548 commit cbdbbbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kilo-server/src/main/java/org/httprpc/kilo/WebService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ public void init() throws ServletException {
851851
throw new ServletException("Missing URL pattern.");
852852
}
853853

854-
if (!(urlPattern.startsWith("/") && urlPattern.endsWith("/*"))) {
854+
if (!urlPattern.startsWith("/")) {
855855
throw new ServletException("Invalid URL pattern.");
856856
}
857857

0 commit comments

Comments
 (0)