tensei
tensei copied to clipboard
404 Not found
Hi,
I wanted to test tenseijs for the auth part that interests me but I can't access the rest api auth part, I still come across an error 404 not found for all the routes that the auth plugins should add
I have a fresh installation, do I need to activate something? I searched in the documentation I find no indication in this sense!
import { auth } from '@tensei/auth'
import { rest } from '@tensei/rest'
import { welcome, tensei, cors } from '@tensei/core'
export default tensei()
.root(__dirname)
.plugins([
welcome(),
auth().plugin(),
rest().plugin(),
cors()
])
.start()
.catch(console.error)