Removed hardcoded path, sigh.
This commit is contained in:
parent
b501f1d8cb
commit
32567b8569
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ public class WebServerRequest extends Thread {
|
||||||
if (path.startsWith("/up/")) {
|
if (path.startsWith("/up/")) {
|
||||||
handleUp(out, path.substring(3));
|
handleUp(out, path.substring(3));
|
||||||
} else if (path.startsWith("/tiles/")) {
|
} 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("/")) {
|
} else if (path.startsWith("/")) {
|
||||||
if(mgr.webPath.equals("[JAR]")) {
|
if(mgr.webPath.equals("[JAR]")) {
|
||||||
handleMapToJar(out, path);
|
handleMapToJar(out, path);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue