Browse Source

Moved website out of classpath to make development easier.

pull/17/head
jrtechs 4 years ago
parent
commit
3ea452e4be
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/java/net/jrtechs/www/server/WebServer.java

+ 1
- 1
src/main/java/net/jrtechs/www/server/WebServer.java View File

@ -38,7 +38,7 @@ public class WebServer
Type typePlayer = new TypeToken<Player>(){}.getType(); Type typePlayer = new TypeToken<Player>(){}.getType();
Type typeGames = new TypeToken<List<Game>>(){}.getType(); Type typeGames = new TypeToken<List<Game>>(){}.getType();
staticFileLocation("/website");
staticFiles.externalLocation("./website");
get("/player/:id", (req, res) -> get("/player/:id", (req, res) ->
gson.toJson( gson.toJson(

Loading…
Cancel
Save