opnform/client/composables/useOpnFetch.js

6 lines
158 B
JavaScript
Raw Normal View History

2023-12-14 15:53:05 +00:00
import config from "~/opnform.config.js";
export const useOpnFetch = (request, opts) => {
return useFetch(request, { baseURL: config.api_url, ...opts })
}