Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
hevelius committed Mar 14, 2024
1 parent 5f1988f commit 9d02fa7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ app.use(bodyParser.urlencoded({ extended: false }));

const port = process.env.PORT || 3000;
const nonce = uuid();

// Please note that this is a simple example and the attestation should be stored in a secure way.
// Every time the server restarts, the attestation is lost. Every time the app verify the attestation
// this value be overwritten. This is just a simple example.
let attestation: any = null;

// The bundle identifier and team identifier are used to verify the attestation and assertion.
const BUNDLE_IDENTIFIER = process.env.BUNDLE_IDENTIFIER || '';
const TEAM_IDENTIFIER = process.env.TEAM_IDENTIFIER || '';

Expand Down

0 comments on commit 9d02fa7

Please sign in to comment.