Explorar el Código

Allow port in origin

simov hace 2 años
padre
commit
ca6747797b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      options/origins.js

+ 1 - 1
options/origins.js

@@ -37,7 +37,7 @@ var Origins = () => {
 
     host: (e) => {
       state.scheme = e.target.value.replace(/(.*):\/\/.*/i, '$1')
-      state.domain = e.target.value.replace(/.*:\/\/([^:/]+).*/i, '$1')
+      state.domain = e.target.value.replace(/.*:\/\/([^/]+).*/i, '$1')
       state.host = e.target.value
     },