updated client to use correct api url
This commit is contained in:
1 parent
6b4caf2c3e
commit
775d98497d
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user