Skip to content

Commit

Permalink
Fix subdomain proxying
Browse files Browse the repository at this point in the history
  • Loading branch information
lk-geimfari committed May 28, 2023
1 parent 237eed1 commit 0cbbbeb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "censortracker",
"version": "12.0.0",
"version": "13.0.0",
"description": "|",
"author": "Roskomsvoboda",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/shared/js/background/utilities.js
Expand Up @@ -99,7 +99,7 @@ export const removeDuplicates = (urls) => {
const result = new Set()

for (const url of urls) {
const domain = getHostname(url)
const domain = getDomain(url)

if (domain) {
result.add(domain)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/js/pages/popup.js
Expand Up @@ -135,7 +135,7 @@ import {
'proxyServerURI',
'proxyLastFetchTs',
]).then(async ({ currentRegionName, proxyServerURI, proxyLastFetchTs }) => {
if (currentRegionName && proxyServerURI && proxyLastFetchTs) {
if (proxyServerURI && proxyLastFetchTs) {
const domains = await Registry.getDomains()
const proxyMachineId = proxyServerURI.split('.', 1)[0]
const proxyingDetailsText = document.getElementById('proxyingDetailsText')
Expand Down
2 changes: 1 addition & 1 deletion src/shared/manifest/base.json
@@ -1,5 +1,5 @@
{
"version": "12.6.0",
"version": "13.0.0",
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"author": "__MSG_appAuthor__",
Expand Down

0 comments on commit 0cbbbeb

Please sign in to comment.