updated client to use correct api url

This commit is contained in:
StevanFreeborn
2022-06-24 15:54:21 -05:00
parent 6b4caf2c3e
commit 775d98497d
+1 -1
View File
@@ -55,7 +55,7 @@ export default class App extends Component {
let url = '/api/seasons';
if (process.env.NODE_ENV === 'production') {
url = 'https://criminalminds-server.azurewebsites.net' + url;
url = 'https://criminalmindsapi.azurewebsites.net' + url;
}
const response = await fetch(url);