Skip to content

Sentinel dashboard cannot display properly when the spring boot application has a context path #1474

@seedscoder

Description

@seedscoder

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

Describe what you expected to happen

  • Sentinel dashboard cannot display properly when the spring boot application has a context path

How to reproduce it (as minimally and precisely as possible)

  • application.yml
server:
  port: 9000
  servlet:
    context-path: /sentinel-demo

spring:
  application:
    name: sentinel-demo
  cloud:
    sentinel:
      transport:
        dashboard: localhost:8080
  • result
    context path

  • When I delete the context path
    xxx

Tell us your environment

  • Spring Cloud Alibaba 2.2.0.RELEASE

Anything else we need to know?

  • What do I need to do to display correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    integration/spring-cloudIssue related to Spring Cloud Alibaba integrationkind/questionCategory issues related to questions or problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions