Skip to content

Commit

Permalink
fix(webserver): don't be extremely picky as to valid URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
blattersturm committed May 17, 2021
1 parent c9d384f commit 1ccfdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/webServer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ module.exports = class WebServer {

//Print cfx.re url... when available
//NOTE: perhaps open the URL automatically with the `open` library
const validUrlRegex = /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}\.users\.cfx\.re$/i;
const validUrlRegex = /\.users\.cfx\.re$/i;
const getUrlInterval = setInterval(() => {
try {
const urlConvar = GetConvar('web_baseUrl', 'false');
Expand Down

0 comments on commit 1ccfdd7

Please sign in to comment.