Implement backend for contact form with gateway integration
This commit is contained in:
23
backend/gateway/src/main/resources/application.yml
Normal file
23
backend/gateway/src/main/resources/application.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://localhost:8761/eureka/
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: gateway
|
||||
main:
|
||||
web-application-type: reactive # Set the application type to reactive
|
||||
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
- id: server
|
||||
uri: lb://server
|
||||
predicates:
|
||||
- Path=/api/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
Reference in New Issue
Block a user