diff --git a/doc/commands.md b/doc/commands.md index 3a4a170..94f1e6e 100644 --- a/doc/commands.md +++ b/doc/commands.md @@ -1148,7 +1148,7 @@ Serve a build previously created with "stripes build": ``` $ stripes serve --existing-build output ``` -Serve a platform with a local proxy server that points to remove okapi server: +Serve a platform with a local proxy server that points to a remote okapi server: ``` $ stripes serve --startProxy --proxyPort 3010 --okapi http://some-okapi-server.folio.org ``` diff --git a/lib/commands/common-options.js b/lib/commands/common-options.js index f350460..00b8bbb 100644 --- a/lib/commands/common-options.js +++ b/lib/commands/common-options.js @@ -8,6 +8,7 @@ module.exports.serverOptions = { startProxy: { type: 'boolean', describe: 'Start a proxy server', + default: false, group: 'Server Options:', }, proxyPort: { diff --git a/lib/platform/tenant-config.js b/lib/platform/tenant-config.js index 5b0e086..ee6f4f6 100644 --- a/lib/platform/tenant-config.js +++ b/lib/platform/tenant-config.js @@ -11,7 +11,7 @@ const defaultConfig = { showPerms: false, hasAllPerms: false, languages: ['en'], - useSecureTokens: false, + useSecureTokens: true, }, modules: { },