🎨 website/utils API_URL + standardJS

This commit is contained in:
divlo committed 2020-08-03 14:37:05 +02:00
1 parent 4be7a46a10
commit 653068c9c7
20 files changed
+1108 -501

No files matched your search

+2 -1
View File
@@ -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
View File
@@ -1 +0,0 @@
export const API_URL = process.env.NEXT_PUBLIC_API_URL