Skip to content

Commit

Permalink
allows *.dev.clan.l33t.xyz:3000
Browse files Browse the repository at this point in the history
  • Loading branch information
jontsai committed Jul 21, 2024
1 parent b30a6cd commit 963bff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/clan.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function getClanFromHostnameOrPath(hostname, path) {
let clanName = null;

const clanHostnameMatch = hostname.match(
/^(?<clanName>[a-z]+)\.clan\.l33t\.xyz$/
/^(?<clanName>[a-z]+)\.(dev\.)?clan\.l33t\.xyz(:\d+)?$/
);
const localHostnameMatch = hostname.match(/^localhost:\d+$/);

Expand Down

0 comments on commit 963bff3

Please sign in to comment.