Skip to content

Commit e0e55b9

Browse files
fix typos
1 parent b3db804 commit e0e55b9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ FEEDBACK_SLACK_URL=
2222
FEEDBACK_URL_LINK=
2323

2424
# frame-ancestors attribute of CSP. Separate multiple values with a space
25-
FRAME_ANCHESTORS=
25+
FRAME_ANCESTORS=

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fastify.register(
3737
directives: {
3838
"connect-src": ["'self'", "sdk.openui5.org"],
3939
"script-src": isLocalDev ? ["'self'", "'unsafe-inline'"] : ["'self'"],
40-
"frame-ancestors": [fastify.config.FRAME_ANCHESTORS]
40+
"frame-ancestors": [fastify.config.FRAME_ANCESTORS]
4141
},
4242
}
4343
}

server/config/env.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const schema = {
1313
'COOKIE_SECRET',
1414
'SESSION_SECRET',
1515
'API_BACKEND_URL',
16-
'FRAME_ANCHESTORS',
16+
'FRAME_ANCESTORS',
1717
],
1818
properties: {
1919
// Application variables (.env)
@@ -28,7 +28,7 @@ const schema = {
2828
API_BACKEND_URL: { type: 'string' },
2929
FEEDBACK_SLACK_URL: { type: 'string' },
3030
FEEDBACK_URL_LINK: { type: 'string' },
31-
FRAME_ANCHESTORS: { type: 'string' },
31+
FRAME_ANCESTORS: { type: 'string' },
3232

3333
// System variables
3434
NODE_ENV: { type: 'string', enum: ['development', 'production'] },

server/encrypted-session.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function encryptedSession(fastify) {
3232
path: '/',
3333
httpOnly: true,
3434
sameSite: "None", // cross-site cookies are needed for the session to work when embedded. By setting CORS to None and CSP.frame-anchestors we restrict the api calls from the browser that contain the cookies to originating from our site only.
35-
partioned: true, // use for modern isolation of third party cookies when embedded, every embedded iframe (or not embedded) gets its own cookie partition
35+
partitioned: true, // use for modern isolation of third party cookies when embedded, every embedded iframe (or not embedded) gets its own cookie partition
3636
secure: true,
3737
maxAge: 60 * 60 * 24 * 7, // 7 days
3838
},
@@ -45,7 +45,7 @@ async function encryptedSession(fastify) {
4545
path: '/',
4646
httpOnly: true,
4747
sameSite: "None", // see secureSession cookie for explanation
48-
partioned: true, // see secureSession cookie for explanation
48+
partitioned: true, // see secureSession cookie for explanation
4949
secure: true,
5050
maxAge: 60 * 60 * 24 * 7, // 7 days
5151
},

0 commit comments

Comments
 (0)