Fix remote client problem

When hosted on website based, the regex is invalid