I am using spring-cloud-starter-gateway (Hoxton.SR5) When I try to call my application with slash it works. http://localhost/myapp/
But when I call without slash http://localhost/myapp it is getting redirected to port on which myapp is running.
Here's the yml
spring:
application:
name: gateway
cloud:
gateway:
routes:
- id: myapp
uri: http://127.0.0.1:96
predicates:
- Path=/myapp, /myapp/**
server:
port: 80
What am I doing wrong here. Any help be appreciated.