Closed directormac closed 2 months ago
Fix was simple prefixed routes needs a trailing slash
export const auth = new Elysia({ prefix: 'auth/' })
.guard((app) =>
app.model({...}).use(...)
.post('/login', () => {'OK'})
.post('signup', () => {'OK'})
);
Hi i'm trying to group my routes in a manner like this.
The following resolves to this
Expected behavior