Skip to content

Commit

Permalink
fixing default endpoint, bumping deploy dependency, prettier tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
colevscode committed Sep 12, 2020
1 parent 6ddbda2 commit 7cecf55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
]
},
"dependencies": {
"@formspree/deploy": "github:formspree/formspree-deploy#2508771",
"@formspree/deploy": "^0.3.1",
"axios": "^0.19.0",
"chalk": "^2.4.2",
"common-tags": "^1.8.0",
Expand Down
4 changes: 2 additions & 2 deletions src/cmds/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ exports.builder = yargs => {

exports.handler = async args => {
const rawConfig = args.config || deploy.getRawConfig(args);
const endpoint = args.endpoint || 'https://formspree-react.herokuapp.com';
const endpoint = args.endpoint || 'https://formspree.io';
const userAgent = `@formspree/cli@${version}`;
const spinner = ora(chalk.gray('Deploying...'));

Expand All @@ -96,7 +96,7 @@ exports.handler = async args => {
// Traverse the config and validate that certain specially-named keys
// reference environment variables.
let invalidKeys = [];
const sensitiveKeys = ['apiKey', 'apiSecret', 'secretKey'];
const sensitiveKeys = ['apiKey', 'apiSecret', 'secretKey', 'apiToken'];

traverse(parsedRawConfig, (key, value) => {
if (
Expand Down

0 comments on commit 7cecf55

Please sign in to comment.