Sfoglia il codice sorgente

Update [...nextauth].ts

main
Steve Ruiz 4 anni fa
parent
commit
01fc6f5723
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0
    2
      pages/api/auth/[...nextauth].ts

+ 0
- 2
pages/api/auth/[...nextauth].ts Vedi File

9
       clientSecret: process.env.GITHUB_SECRET,
9
       clientSecret: process.env.GITHUB_SECRET,
10
     }),
10
     }),
11
   ],
11
   ],
12
-  // SQL or MongoDB database (or leave empty)
13
-  // database: process.env.DATABASE_URL,
14
   callbacks: {
12
   callbacks: {
15
     async redirect(url, baseUrl) {
13
     async redirect(url, baseUrl) {
16
       return url.startsWith(baseUrl) ? url : baseUrl
14
       return url.startsWith(baseUrl) ? url : baseUrl

Loading…
Annulla
Salva