Update public

This commit is contained in:
Hri7566 2024-11-03 08:17:20 -05:00
parent 0d3c0b8452
commit a7e4902b7e
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
topButtons: none
topButtons: git-links
disableChat: false
winter: false
enableSlide: false

2
public

@ -1 +1 @@
Subproject commit 6274c9e98aec79130b704a0bb5501597ecd3905c
Subproject commit 00a9fe84ef73aac6653ace559de63cc23b67b948

View File

@ -19,7 +19,7 @@ const logger = new Logger("WebSocket Server");
export const httpIpCache = new Map<string, number>();
interface IFrontendConfig {
topButtons: "original" | "mppnet" | "none";
topButtons: "original" | "mppnet" | "git-links" | "none";
disableChat: boolean;
winter: boolean;
enableSlide: boolean;
@ -34,7 +34,7 @@ export const frontendConfigPath = "config/frontend.yml";
export const frontendConfig = ConfigManager.loadConfig<IFrontendConfig>(
frontendConfigPath,
{
topButtons: "original",
topButtons: "git-links",
disableChat: false,
winter: false,
enableSlide: false,
@ -74,7 +74,7 @@ async function getIndex(path?: string, userID?: string) {
configs.urlChannel = ch.getInfo(userID);
}
}
} catch (err) {}
} catch (err) { }
const base64config = btoa(JSON.stringify(configs));
configs.base64config = base64config;
@ -128,7 +128,7 @@ export function startHTTPServer() {
try {
_id = createUserID(ip);
} catch (err) {}
} catch (err) { }
// Time for unreadable blocks of confusion
try {