Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
fix: allowed links
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude authored May 8, 2024
1 parent 24d3796 commit b78e41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/links/checkLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EmbedBuilder, Message, PartialMessage } from 'discord.js';
import { ExtendedClient } from '../interfaces/ExtendedClient';
import { errorHandler } from '../utils/errorHandler';

const allowedLinks = ['github.com'];
const allowedLinks = ['github.com', 'eddiejaoude.io', 'gitlab.com'];
const urlPattern = /(http|https):\/\/([\w-]+(\.[\w-]+)+)(\/[\w-./?%&=]*)?/;

export const checkLinks = async (
Expand Down

0 comments on commit b78e41e

Please sign in to comment.