Fixed tiles not being loaded from tilespath.
This commit is contained in:
parent
502fbd5829
commit
22850982a9
1 changed files with 2 additions and 2 deletions
|
|
@ -431,11 +431,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
this.setDirectoriesListed(true);
|
||||
this.setBaseResource(createFileResource(getFile(getWebPath()).getAbsolutePath()));
|
||||
}});
|
||||
this.addHandler("/tiles/", new ResourceHandler() {{
|
||||
this.addHandler("/tiles/*", new ResourceHandler() {{
|
||||
this.setAliases(allow_symlinks);
|
||||
this.setWelcomeFiles(new String[] { });
|
||||
this.setDirectoriesListed(true);
|
||||
this.setBaseResource(createFileResource(tilesDirectory.toString()));
|
||||
this.setBaseResource(createFileResource(tilesDirectory.getAbsolutePath()));
|
||||
}});
|
||||
}};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue