Skip to content

Commit 9fe2f21

Browse files
add profile
1 parent 89b47a0 commit 9fe2f21

File tree

4 files changed

+740
-437
lines changed

4 files changed

+740
-437
lines changed

package-lock.json

Lines changed: 22 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/config/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import axios from 'axios';
22

3-
const IMAGE_BASE_URL = process.env.IMAGE_BASE_URL || 'https://tnreaders.in/images/';
4-
// const IMAGE_BASE_URL = 'http://localhost:8000/images/';
3+
// const IMAGE_BASE_URL = process.env.IMAGE_BASE_URL || 'https://tnreaders.in/images/';
4+
const IMAGE_BASE_URL = 'http://localhost:8000/images/';
55
// const IMAGE_BASE_URL = 'https://tnreaders.in/images/';
66

77
const axiosInstance = axios.create({
8-
baseURL: process.env.REACT_APP_API_BASE_URL || 'https://www.Tnreaders.in/', // Default URL
9-
// baseURL: 'http://localhost:8000', // Default URL
8+
// baseURL: process.env.REACT_APP_API_BASE_URL || 'https://www.Tnreaders.in/', // Default URL
9+
baseURL: 'http://localhost:8000', // Default URL
1010
});
1111

1212
export default axiosInstance;

0 commit comments

Comments
 (0)