Skip to content

static url :/files/index.html and /files/ not handled #92

@pedia

Description

@pedia

url :/files/index.html and /files/ not handled.

/files/ 404

/files/index.html redirected by fs.

@dimfeld How can we handle /files/?

contextMux = app.TreeMux.UsingContext()
contextMux.GET("/files/*", http.FileServer(Http.Dir(uploadPath)))

Originally posted by @pedia in #78 (comment)

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