mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Removed hardcoded path, sigh.
This commit is contained in:
parent
b501f1d8cb
commit
32567b8569
@ -73,7 +73,7 @@ public class WebServerRequest extends Thread {
|
||||
if (path.startsWith("/up/")) {
|
||||
handleUp(out, path.substring(3));
|
||||
} else if (path.startsWith("/tiles/")) {
|
||||
handleMapToDirectory(out, path.substring(6), "/srv/http/dynmap/tiles/");
|
||||
handleMapToDirectory(out, path.substring(6), mgr.tilepath);
|
||||
} else if (path.startsWith("/")) {
|
||||
if(mgr.webPath.equals("[JAR]")) {
|
||||
handleMapToJar(out, path);
|
||||
|
Loading…
Reference in New Issue
Block a user