Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Jun 15, 2023
1 parent 84f4b63 commit 0800bd4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion examples/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ console.log(`Signature validation using ${PUBLIC_KEY}`);

export default {
port,
development: true,
async fetch(request) {
// get headers and body from POST request
const timestamp = request.headers.get("x-signature-timestamp");
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function action(options: ActionOptions) {
// verbose
const verbose = options.verbose ?? JSON.parse(process.env.VERBOSE ?? "false");
if (verbose) {
logger.settings.type = "json";
logger.settings.type = "pretty";
}

// Metrics
Expand Down

0 comments on commit 0800bd4

Please sign in to comment.