Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Check subdomain matches
const subdomain = window.location.host.split(".")[0];
const re = new RegExp("^[a-z0-9-]+-[a-f0-9]{16}$");
const re = new RegExp("^[a-z0-9-]+-[a-f0-9]{16}(-\w*)?$");
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment thread
The0mikkel marked this conversation as resolved.
Outdated
const parser = new DOMParser();

function errorHandler(e) {
Expand Down
Loading