mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-17 15:06:06 +01:00
fix: api path and sharp
This commit is contained in:
@@ -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'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user