From 633815b7683a297210ec6adcf200d3e00fa7c715 Mon Sep 17 00:00:00 2001 From: Tarrgon <61888458+Tarrgon@users.noreply.github.com> Date: Wed, 4 Jun 2025 14:07:38 -0400 Subject: [PATCH] Fix post url --- src/utils/e621-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/e621-utils.ts b/src/utils/e621-utils.ts index 6f47c8d..9779149 100644 --- a/src/utils/e621-utils.ts +++ b/src/utils/e621-utils.ts @@ -51,8 +51,8 @@ export function hasBlacklistedTags(post: E621Post): boolean { } export function getPostUrl(post: E621Post): string { - if (post.rating == 's') return `${config.E926_BASE_URL}/post/${post.id}`; - return `${config.E621_BASE_URL}/post/${post.id}`; + if (post.rating == 's') return `${config.E926_BASE_URL}/posts/${post.id}`; + return `${config.E621_BASE_URL}/posts/${post.id}`; } export async function userIsBanned(idOrName: string | number): Promise {