Browse Source

Exclude port from domain name

simov 2 years ago
parent
commit
7137ee323b
1 changed files with 1 additions and 1 deletions
  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
     },