Define Routes
Last updated
Last updated
You need to define routes for your custom endpoints or if you want to adjust the url / params of a default endpoint. Default Endpoints can use the getDefaultRoutes
Create a routes file src/mock-server/routes.ts
Add a routes function which returns an object like the following: