budibase/packages/frontend-core/src/api/routes.js

11 lines
221 B
JavaScript
Raw Normal View History

export const buildRouteEndpoints = API => ({
/**
* Fetches available routes for the client app.
*/
fetchClientAppRoutes: async () => {
return await API.get({
url: `/api/routing/client`,
})
},
})