backend-app-api: use promise router in cookie auth middleware
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import { AuthService, HttpAuthService } from '@backstage/backend-plugin-api';
|
||||
import { Router } from 'express';
|
||||
import Router from 'express-promise-router';
|
||||
|
||||
const WELL_KNOWN_COOKIE_PATH_V1 = '/.backstage/auth/v1/cookie';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user