Class FrontendProxyController

java.lang.Object
edu.ucsb.cs156.example.controllers.FrontendProxyController

@Profile("development") @RestController public class FrontendProxyController extends Object
  • Constructor Details

    • FrontendProxyController

      public FrontendProxyController()
  • Method Details

    • proxy

      @GetMapping({"/","/{path:^(?!api|oauth2|swagger-ui|h2-console).*}/**"}) public org.springframework.http.ResponseEntity<?> proxy(org.springframework.cloud.gateway.mvc.ProxyExchange<byte[]> proxy)