Skip to content

Static files route not working #1569

@MikeGCV

Description

@MikeGCV

Issue Description

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Expected behaviour

Serve static files from that route. In version v4.1.14 this code works

Actual behaviour

404 error

Steps to reproduce

Working code to debug

package main

import (
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
)

func main() {
    e := echo.New()
    e.Static("/admin","test")
    e.Start("0.0.0.0:8888)
}

Version/commit

v4.1.16
v4.1.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions