1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

fix: remove trailing slash from OpenAPI route (#1564)

This commit is contained in:
olav 2022-05-05 11:45:23 +02:00 committed by GitHub
parent 7187907d53
commit ac90a3b1c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ class FeatureController extends Controller {
this.route({ this.route({
method: 'get', method: 'get',
path: '/', path: '',
acceptAnyContentType: true, acceptAnyContentType: true,
handler: this.getAllToggles, handler: this.getAllToggles,
middleware: [ middleware: [

View File

@ -679,7 +679,7 @@ Object {
], ],
}, },
}, },
"/api/admin/features/": Object { "/api/admin/features": Object {
"get": Object { "get": Object {
"deprecated": true, "deprecated": true,
"responses": Object { "responses": Object {