Skip to content

Commit 9fbf544

Browse files
authored
fix(@cubejs-backend/server-core): Support apiSecret as option (#1130)
1 parent ccbb465 commit 9fbf544

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/cubejs-server-core/core/index.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ describe('index.test', () => {
7575
initApp: () => {},
7676
processSubscriptionsInterval: 5000,
7777
devServer: false,
78+
apiSecret: 'randomstring',
7879
logger: () => {},
7980
driverFactory: () => {},
8081
externalDriverFactory: () => {},

packages/cubejs-server-core/core/optionsValidate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const schemaOptions = Joi.object().keys({
2323
basePath: Joi.string(),
2424
webSocketsBasePath: Joi.string(),
2525
devServer: Joi.boolean(),
26+
apiSecret: Joi.string(),
2627
webSockets: Joi.boolean(),
2728
processSubscriptionsInterval: Joi.number(),
2829
initApp: Joi.func(),

0 commit comments

Comments
 (0)