Class FrontendProxyController
java.lang.Object
edu.ucsb.cs156.example.controllers.FrontendProxyController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
proxy
(org.springframework.cloud.gateway.mvc.ProxyExchange<byte[]> proxy)
-
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)
-