6 lines
158 B
JavaScript
6 lines
158 B
JavaScript
|
import config from "~/opnform.config.js";
|
||
|
|
||
|
export const useOpnFetch = (request, opts) => {
|
||
|
return useFetch(request, { baseURL: config.api_url, ...opts })
|
||
|
}
|