Class FrontendProxyController

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

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

    • FrontendProxyController

      public FrontendProxyController()
  • Method Details

    • proxy

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