Skip to content

Commit 06730ff

Browse files
committed
修复webhook url错误
1 parent ec978fa commit 06730ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/[locale]/users/settings/components/WebhookSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default function WebhookSettings({
7171
}
7272
};
7373

74-
const webhookUrl = `${process.env.NEXT_PUBLIC_APP_API_URL || 'https://api.scriptcat.org'}/webhook/${user.user?.user_id || 'USER_ID'}`;
74+
const webhookUrl = `${process.env.NEXT_PUBLIC_APP_URL || 'https://scriptcat.org'}/api/v2/webhook/${user.user?.user_id || 'USER_ID'}`;
7575

7676
if (isLoading) {
7777
return <Card loading className="min-h-[400px]" />;

0 commit comments

Comments
 (0)