Skip to content

Conversation

notzippy
Copy link
Contributor

@notzippy notzippy commented Jul 27, 2017

Add the following routes, public folder is now like a ftp server, you need the second redirect because an empty request to /public or /public/ will not match /public/*filepath

*     /static                                 module:static
GET     /public/*filepath                       Static.ServeDir("public")
GET     /public                                 Static.ServeDir("public")

image

@brendensoares
Copy link
Member

Size: 0 should be hidden for folders? This should be disabled by default in prod, yes?

…rectory exploration with as long as the result path returns to current folder)
@notzippy notzippy merged commit d491564 into revel:develop Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants