budibase/packages/client/src/api/routes.js

11 lines
186 B
JavaScript
Raw Normal View History

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