set env variables config in webpack file
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import axios from 'axios';
|
||||
import axios from 'axios';
|
||||
|
||||
/** base url to make requests to the the movie database */
|
||||
const instance = axios.create({
|
||||
baseURL: "https://api.themoviedb.org/3"
|
||||
baseURL: 'https://api.themoviedb.org/3',
|
||||
});
|
||||
|
||||
export default instance;
|
||||
export default instance;
|
||||
|
||||
Reference in New Issue
Block a user