footer links changed, === in config/io

This commit is contained in:
Xanazf 2024-10-25 05:57:51 +03:00
parent e0a2fb0256
commit a5c4272469
Signed by: Xanazf
GPG key ID: 4E4A5AD1FB748427
2 changed files with 5 additions and 3 deletions

View file

@ -6,7 +6,7 @@ import gitLogo from "@icons/git-logo.svg?raw";
<section class="credits">
<p class="hint">Brought to you by:</p>
<a href="https://outfoxxed.me" target="_blank">outfoxxed - <span class="hint">Lead Developer</span></a>
<a href="https://github.com/Xanazf" target="_blank">Xanazf - <span class="hint">Website Developer / Designer</span></a>
<a href="https://xanazf.github.io" target="_blank">Xanazf - <span class="hint">Website Developer / Designer</span></a>
<a href="https://github.com/quickshell-mirror/quickshell/graphs/contributors" target="_blank">
and our contributors
</a>

View file

@ -33,8 +33,10 @@ async function readSubdir(subdir: string): Promise<dirData[]> {
async function generateTypeData(): Promise<RouteData[]> {
const mainDir = import.meta.env.SECRET_MODULES_PATH;
if (!mainDir || mainDir == "") {
throw new Error("Cannot generate types, missing SECRET_MODULES_PATH");
if (!mainDir || mainDir === "") {
throw new Error(
"Cannot generate types, missing SECRET_MODULES_PATH"
);
}
const subdirs = await fs.readdir(mainDir, {