From 3ea452e4be56b5a33ccdd32431e731e8dfa1a78f Mon Sep 17 00:00:00 2001 From: jrtechs Date: Sun, 12 Jul 2020 17:27:45 -0400 Subject: [PATCH] Moved website out of classpath to make development easier. --- src/main/java/net/jrtechs/www/server/WebServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/jrtechs/www/server/WebServer.java b/src/main/java/net/jrtechs/www/server/WebServer.java index 2ca7f21..09cf50a 100644 --- a/src/main/java/net/jrtechs/www/server/WebServer.java +++ b/src/main/java/net/jrtechs/www/server/WebServer.java @@ -38,7 +38,7 @@ public class WebServer Type typePlayer = new TypeToken(){}.getType(); Type typeGames = new TypeToken>(){}.getType(); - staticFileLocation("/website"); + staticFiles.externalLocation("./website"); get("/player/:id", (req, res) -> gson.toJson(