We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d4816c commit d352c0bCopy full SHA for d352c0b
play.pokemonshowdown.com/js/client.js
@@ -756,7 +756,7 @@ function toId() {
756
757
var self = this;
758
var constructSocket = function () {
759
- if (location.host === 'localhost.psim.us' || /[0-9]+.[0-9]+.[0-9]+.[0-9]+\.psim\.us/.test(location.host)) {
+ if (location.host === 'localhost.psim.us' || /[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.psim\.us/.test(location.host)) {
760
// normally we assume HTTPS means HTTPS, but make an exception for
761
// localhost and IPs which generally can't have a signed cert anyway.
762
Config.server.port = 8000;
0 commit comments