Skip to content

fiber example: No 404 possible #18

Description

@janafh

Hey there,

I just found a "bug" in your example of the fiber app (https://github.com/mvrilo/go-redoc/blob/master/_examples/fiber/main.go#L19 and in your ReadMe). If you use .Use at this point, fiber won't return a 404 for non existing routes. You can change it e.g. to .Get("/docs/*", fiberredoc.New(doc)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions