mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-29 23:17:28 +02:00
Enable network page in Frontend BETA
This commit is contained in:
parent
8cdbebf191
commit
4195865394
@ -181,7 +181,12 @@ public class PageFactory {
|
||||
return new PlayerPluginTab(navs.toString(), tabs.toString());
|
||||
}
|
||||
|
||||
public NetworkPage networkPage() throws IOException {
|
||||
public Page networkPage() throws IOException {
|
||||
if (config.get().isTrue(PluginSettings.FRONTEND_BETA)) {
|
||||
String reactHtml = getResource("index.html");
|
||||
return () -> reactHtml;
|
||||
}
|
||||
|
||||
return new NetworkPage(getResource("network.html"),
|
||||
dbSystem.get(),
|
||||
versionChecker.get(),
|
||||
|
Loading…
Reference in New Issue
Block a user