mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-19 03:04:01 +00:00
feat: add redirect api
This commit is contained in:
@@ -24,7 +24,7 @@ func getFileSystem(path string) http.FileSystem {
|
||||
|
||||
func skipper(c echo.Context) bool {
|
||||
path := c.Path()
|
||||
return common.HasPrefixes(path, "/api")
|
||||
return common.HasPrefixes(path, "/api", "/o")
|
||||
}
|
||||
|
||||
func embedFrontend(e *echo.Echo) {
|
||||
|
Reference in New Issue
Block a user