Skip to content

Commit

Permalink
fix: missing moralis api handler in demo added
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0moo committed Dec 5, 2022
1 parent 23bdb0e commit fed5104
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions demos/nextjs/pages/api/moralis/[...moralis].ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { MoralisNextApi } from '@moralisweb3/next';

export default MoralisNextApi({
apiKey: process.env.MORALIS_API_KEY || '',
authentication: {
domain: 'amazing.dapp',
uri: process.env.NEXTAUTH_URL || '',
timeout: 120,
},
});

0 comments on commit fed5104

Please sign in to comment.