Browse Source

correction configuration services

Daniel Le Berre 5 years ago
parent
commit
8dae8cdc4f
2 changed files with 1 additions and 8 deletions
  1. 1 1
      src/rest/RestApplication.java
  2. 0 7
      src/rest/RestService.java

+ 1 - 1
src/rest/RestApplication.java

@@ -4,7 +4,7 @@ import javax.ws.rs.ApplicationPath;
 
 import org.glassfish.jersey.server.ResourceConfig;
 
-@ApplicationPath("/")
+@ApplicationPath("/api")
 public class RestApplication extends ResourceConfig {               
 
     public RestApplication() {

+ 0 - 7
src/rest/RestService.java

@@ -35,11 +35,4 @@ public class RestService {
 		LOGGER.info("profil " +id);
 		return "Profil";
 	}
-	
-	@Path("")
-	@GET
-	public String itWorks() {
-		return "It works!";
-	}
-
 }