refactor(gateway): Centralize ignored URL configuration
This commit is contained in:
@@ -25,18 +25,6 @@ spring:
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
refresh: true
|
||||
gateway:
|
||||
ignore:
|
||||
urls:
|
||||
- /**/auth/login
|
||||
- /**/auth/register
|
||||
- /**/auth/captcha
|
||||
- /content/video/public/**
|
||||
- /content/category/tree
|
||||
- /content/category/list
|
||||
- /comment/reply/public/**
|
||||
- /comment/public/**
|
||||
- /admin/auth/captcha
|
||||
- /admin/auth/login
|
||||
discovery:
|
||||
locator:
|
||||
enabled: true
|
||||
@@ -97,11 +85,13 @@ management:
|
||||
gateway:
|
||||
ignore:
|
||||
urls:
|
||||
- /auth/login
|
||||
- /auth/register
|
||||
- /auth/captcha
|
||||
- /*/v3/api-docs
|
||||
- /swagger-resources/**
|
||||
- /swagger-ui/**
|
||||
- /actuator/**
|
||||
- /favicon.ico
|
||||
- /**/auth/login
|
||||
- /**/auth/register
|
||||
- /**/auth/captcha
|
||||
- /content/video/public/**
|
||||
- /content/category/tree
|
||||
- /content/category/list
|
||||
- /comment/reply/public/**
|
||||
- /comment/public/**
|
||||
- /admin/auth/captcha
|
||||
- /admin/auth/login
|
||||
Reference in New Issue
Block a user