diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-26 12:53:56 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-26 12:57:36 +1000 |
commit | 9c688527ec8fb6674ffd98b91c9b597ce3f10d9b (patch) | |
tree | 69b4eda441946c464ece1ca4e01d4f3fe54e95e9 /src/api/routes/guilds/#guild_id | |
parent | Vscode launch config (diff) | |
download | server-9c688527ec8fb6674ffd98b91c9b597ce3f10d9b.tar.xz |
Rearrange assets a bit, fix anything that uses assets folder
Diffstat (limited to 'src/api/routes/guilds/#guild_id')
-rw-r--r-- | src/api/routes/guilds/#guild_id/widget.png.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/guilds/#guild_id/widget.png.ts b/src/api/routes/guilds/#guild_id/widget.png.ts index 721b59fb..c17d511e 100644 --- a/src/api/routes/guilds/#guild_id/widget.png.ts +++ b/src/api/routes/guilds/#guild_id/widget.png.ts @@ -34,7 +34,7 @@ router.get("/", route({}), async (req: Request, res: Response) => { const sizeOf = require("image-size"); // TODO: Widget style templates need Fosscord branding - const source = path.join(__dirname, "..", "..", "..", "..", "assets", "widget", `${style}.png`); + const source = path.join(__dirname, "..", "..", "..", "..", "..", "assets", "widget", `${style}.png`); if (!fs.existsSync(source)) { throw new HTTPError("Widget template does not exist.", 400); } |