diff --git a/pom.xml b/pom.xml
index d0ba6bf..231ad4c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,6 +23,18 @@
org.springframework.boot
spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-tomcat
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-jetty
diff --git a/src/main/java/top/fjy8018/demo/DemoApplication.java b/src/main/java/top/fjy8018/demo/DemoApplication.java
index caa0aa8..1ac2a9d 100644
--- a/src/main/java/top/fjy8018/demo/DemoApplication.java
+++ b/src/main/java/top/fjy8018/demo/DemoApplication.java
@@ -14,7 +14,7 @@ public class DemoApplication {
SpringApplication.run(DemoApplication.class, args);
}
- @RequestMapping("/{content}")
+ @RequestMapping("/print/{content}")
public String helloWorld(@PathVariable(name = "content", required = false) String content) {
return "hello , " + content;
}