Archived
🎨 website/utils API_URL + standardJS
This commit is contained in:
1 parent
4be7a46a10
commit
653068c9c7
20 files changed
+1108
-501
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import axios from 'axios'
|
||||
import { API_URL } from './config/config'
|
||||
|
||||
export const API_URL = process.env.NEXT_PUBLIC_API_URL
|
||||
|
||||
const api = axios.create({
|
||||
baseURL: API_URL,
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
export const API_URL = process.env.NEXT_PUBLIC_API_URL
|
||||
Reference in new issue
Block a user