Skip to content

Commit 56d37ea

Browse files
Merge branch 'dev' into PROD-2033_hosted-api
2 parents 3ad8e63 + a52a27c commit 56d37ea

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Jenkinsfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ pipeline {
117117
#!/bin/bash
118118
node --version
119119
npm --version
120-
cat .env
121120
git config --global url."https://git@".insteadOf git://
122121
npm ci
123122
npm run build

api-server/src/server/middlewares/request-authorization.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ export default function getRequestAuthorisation({
7373
const { origin } = getRedirectParams(req);
7474
const { path } = req;
7575
if (!isAllowedPath(path)) {
76+
console.log('##### path:', path);
77+
console.log('##### getting access token');
7678
const { accessToken, error, jwt } = getAccessTokenFromRequest(
7779
req,
7880
jwtSecret

api-server/src/server/middlewares/sessions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const MongoStore = MongoStoreFactory(session);
55
const sessionSecret = process.env.SESSION_SECRET;
66
const url = process.env.MONGODB || process.env.MONGOHQ_URL;
77

8+
console.log('session DB url', url);
9+
810
export default function sessionsMiddleware() {
911
return session({
1012
// 900 day session cookie

0 commit comments

Comments
 (0)