fix: api path and sharp

This commit is contained in:
Daniel Soares committed 2021-12-13 16:57:02 -03:00
1 parent 8c37b851f3
commit aaaaedb73c
5 files changed
+352 -73

No files matched your search

+1 -3
View File
@@ -1,7 +1,5 @@
import axios from 'axios'
const { RAILWAY_STATIC_URL } = process.env
export const api = axios.create({
baseURL: `${RAILWAY_STATIC_URL}/api` || 'http://localhost:3000/api'
baseURL: '/api'
})