Skip to content

Commit

Permalink
Enable query page in Frontend BETA
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraLS3 committed Nov 22, 2022
1 parent b759fe6 commit 86f6cff
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ public Page registerPage() throws IOException {
}

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()
Expand Down

0 comments on commit 86f6cff

Please sign in to comment.