mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-05 16:30:24 +08:00
Enable query page in Frontend BETA
This commit is contained in:
parent
b759fe6121
commit
86f6cffc66
@ -252,6 +252,10 @@ public class PageFactory {
|
||||
}
|
||||
|
||||
public Page queryPage() throws IOException {
|
||||
if (config.get().isTrue(PluginSettings.FRONTEND_BETA)) {
|
||||
String reactHtml = getResource("index.html");
|
||||
return () -> reactHtml;
|
||||
}
|
||||
return new QueryPage(
|
||||
getResource("query.html"),
|
||||
locale.get(), theme.get(), versionChecker.get()
|
||||
|
Loading…
Reference in New Issue
Block a user