Permalink
Browse files

Updated with information about static file locations

  • Loading branch information...
1 parent 3c906ec commit 5823c6af6a6cb9beaed500c079ca8555498b2150 @wesleycho wesleycho committed Dec 23, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 README.md
View
@@ -396,6 +396,7 @@ public class StaticResources {
public static void main(String[] args) {
// Will serve all static file are under "/public" in classpath if the route isn't consumed by others routes.
+ // When using Maven, the "/public" folder is assumed to be in "/main/resources"
staticFileLocation("/public");
get(new Route("/hello") {

0 comments on commit 5823c6a

Please sign in to comment.