Skip to content

404 Not foundΒ #265

@Kaexburli

Description

@Kaexburli

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)

tensei_404
tensei_404_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions