[DEV] error path
This commit is contained in:
parent
93f35360b3
commit
ca55b01e14
@ -86,16 +86,16 @@ public class Front {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{baseA}/assets/images/{baseB}")
|
@Path("assets/images/{baseB}")
|
||||||
@PermitAll()
|
@PermitAll()
|
||||||
public Response retrive2(@PathParam("baseA") String baseA, @PathParam("baseB") String baseB) throws Exception {
|
public Response retrive2(@PathParam("baseB") String baseB) throws Exception {
|
||||||
return retrive(baseA + File.separator + "assets" + File.separator + "images" + File.separator + baseB);
|
return retrive("assets" + File.separator + "images" + File.separator + baseB);
|
||||||
}
|
}
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{baseA}/assets/js_3rd_party/{baseB}")
|
@Path("assets/js_3rd_party/{baseB}")
|
||||||
@PermitAll()
|
@PermitAll()
|
||||||
public Response retrive3(@PathParam("baseA") String baseA, @PathParam("baseB") String baseB) throws Exception {
|
public Response retrive3(@PathParam("baseB") String baseB) throws Exception {
|
||||||
return retrive(baseA + File.separator + "assets" + File.separator + "js_3rd_party" + File.separator + baseB);
|
return retrive("assets" + File.separator + "js_3rd_party" + File.separator + baseB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -88,16 +88,16 @@ public class FrontSSO {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{baseA}/assets/images/{baseB}")
|
@Path("assets/images/{baseB}")
|
||||||
@PermitAll()
|
@PermitAll()
|
||||||
public Response retrive2(@PathParam("baseA") String baseA, @PathParam("baseB") String baseB) throws Exception {
|
public Response retrive2(@PathParam("baseB") String baseB) throws Exception {
|
||||||
return retrive(baseA + File.separator + "assets" + File.separator + "images" + File.separator + baseB);
|
return retrive("assets" + File.separator + "images" + File.separator + baseB);
|
||||||
}
|
}
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{baseA}/assets/js_3rd_party/{baseB}")
|
@Path("assets/js_3rd_party/{baseB}")
|
||||||
@PermitAll()
|
@PermitAll()
|
||||||
public Response retrive3(@PathParam("baseA") String baseA, @PathParam("baseB") String baseB) throws Exception {
|
public Response retrive3(@PathParam("baseB") String baseB) throws Exception {
|
||||||
return retrive(baseA + File.separator + "assets" + File.separator + "js_3rd_party" + File.separator + baseB);
|
return retrive("assets" + File.separator + "js_3rd_party" + File.separator + baseB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user