import axios from 'axios'

export default axios.create({
    /// #if DEVELOPMENT
    baseURL: "https://localhost:8000/api/"
    /// #endif
})
import axios from 'axios'

export default axios.create({
    /// #if DEVELOPMENT
    baseURL: "http://localhost:8000/api/",
    withCredentials: true
    /// #endif
})
fix url and add credentials.