Skip to content

Commit b04e2a1

Browse files
committed
修改注解
1 parent ad3d4c8 commit b04e2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cn/edu/swu/ffdy/JavaWeb/Filters/AuthFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import javax.servlet.http.HttpSession;
1212
import java.io.IOException;
1313

14-
@WebFilter(urlPatterns = "/admin/*")
14+
@WebFilter("/admin/*")
1515
public class AuthFilter extends HttpFilter {
1616
public void doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
1717
throws IOException, ServletException {

0 commit comments

Comments
 (0)