Skip to content

Commit

Permalink
Merge pull request #24 from davidxw/main
Browse files Browse the repository at this point in the history
Minor updates
  • Loading branch information
thivy authored Aug 1, 2023
2 parents d315ac9 + 5b7761d commit fc3f5f0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1,052 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Authorization callback URL:https://YOUR-WEBSITE-NAME.azurewebsites.net/api/auth/
Application name: Azure ChatGPT DEV Environment
Supported account types: Accounts in this organizational directory only
Redirect URI Platform: Web
Redirect URI:http://localhost:3000/api/auth/callback/azure-ad/
Redirect URI:http://localhost:3000/api/auth/callback/azure-ad
```

### 🟢 Production app setup
Expand All @@ -201,7 +201,7 @@ Redirect URI:http://localhost:3000/api/auth/callback/azure-ad/
Application name: Azure ChatGPT Production
Supported account types: Accounts in this organizational directory only
Redirect URI Platform: Web
Redirect URI:https://YOUR-WEBSITE-NAME.azurewebsites.net/api/auth/callback/azure-ad/
Redirect URI:https://YOUR-WEBSITE-NAME.azurewebsites.net/api/auth/callback/azure-ad
```

⚠️ Once the apps are setup, ensure to update the environment variables locally and on Azure App Service.
Expand Down
Binary file modified app/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion infra/resources.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource webApp 'Microsoft.Web/sites@2020-06-01' = {
}
{
name: 'NEXTAUTH_URL'
value: '${name}-app-${resourceToken}.azurewebsites.net'
value: 'https://${name}-app-${resourceToken}.azurewebsites.net'
}
]
}
Expand Down
Loading

0 comments on commit fc3f5f0

Please sign in to comment.