9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
import axios from 'axios'
|
|
|
|
// Create an axios client with custom properties
|
|
export default axios.create({
|
|
baseURL: "https://api.unsplash.com/",
|
|
headers: {
|
|
Authorization: 'Client-ID b4d9ccd8113d1f68079b8eb43747bfe5e56705409be3ed9e1db0accbc3da35ce'
|
|
}
|
|
}) |