Removed API authentication when using the gateway, as that would defeat the purpose of it.

This commit is contained in:
CalDescent 2021-11-19 13:14:57 +00:00
parent 824d14e793
commit b7a0a7eea4

View File

@ -27,7 +27,6 @@ public class GatewayResource {
@SecurityRequirement(name = "apiKey")
public HttpServletResponse getPathByName(@PathParam("name") String name,
@PathParam("path") String inPath) {
Security.checkApiCallAllowed(request);
return this.get(name, ResourceIdType.NAME, Service.WEBSITE, inPath, null, "", true, true);
}
@ -35,7 +34,6 @@ public class GatewayResource {
@Path("{name}")
@SecurityRequirement(name = "apiKey")
public HttpServletResponse getIndexByName(@PathParam("name") String name) {
Security.checkApiCallAllowed(request);
return this.get(name, ResourceIdType.NAME, Service.WEBSITE, "/", null, "", true, true);
}