diff --git a/config/frontend.yml b/config/frontend.yml index 9f8e60b..1ade225 100644 --- a/config/frontend.yml +++ b/config/frontend.yml @@ -1,4 +1,4 @@ -topButtons: none +topButtons: git-links disableChat: false winter: false enableSlide: false diff --git a/public b/public index 6274c9e..00a9fe8 160000 --- a/public +++ b/public @@ -1 +1 @@ -Subproject commit 6274c9e98aec79130b704a0bb5501597ecd3905c +Subproject commit 00a9fe84ef73aac6653ace559de63cc23b67b948 diff --git a/src/ws/server.ts b/src/ws/server.ts index 3d5d48c..2eeefc1 100644 --- a/src/ws/server.ts +++ b/src/ws/server.ts @@ -19,7 +19,7 @@ const logger = new Logger("WebSocket Server"); export const httpIpCache = new Map(); 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( 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 {