Skip to content

Commit 4f1191c

Browse files
committed
chore: change connection url
1 parent 0760864 commit 4f1191c

File tree

2 files changed

+9
-23
lines changed

2 files changed

+9
-23
lines changed

plugin/js/background.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ let status = 'disconnect';
1616
let list = [];
1717
let syncTab = null;
1818
let share = null;
19-
let connectionUrl = 'https://syncevent.herokuapp.com';
19+
let connectionUrl = 'http://server.syncwatch.space';
2020

2121
function initConnectionUrl() {
2222
chrome.storage.sync.get('connectionUrl', (obj) => {
2323
if (obj.connectionUrl === undefined) {
24-
chrome.storage.sync.set({ connectionUrl: 'https://syncevent.herokuapp.com' });
24+
chrome.storage.sync.set({ connectionUrl: 'http://server.syncwatch.space' });
2525
} else {
2626
connectionUrl = obj.connectionUrl;
2727
}

plugin/manifest.json

+7-21
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@
22
"manifest_version": 2,
33
"name": "__MSG_appName__",
44
"description": "__MSG_appDesc__",
5-
"version": "0.415",
5+
"version": "0.421",
66
"default_locale": "en",
77
"options_ui": {
88
"page": "options.html",
99
"open_in_tab": false
1010
},
1111
"background": {
1212
"persistent": true,
13-
"scripts": [
14-
"js/libs/socket.io.min.js",
15-
"js/background.js"
16-
]
13+
"scripts": ["js/libs/socket.io.min.js", "js/background.js"]
1714
},
1815
"icons": {
1916
"16": "icons/icon16.png",
@@ -27,28 +24,17 @@
2724
"default_popup": "popup.html"
2825
},
2926
"incognito": "split",
30-
"permissions": [
31-
"<all_urls>",
32-
"tabs",
33-
"storage",
34-
"notifications"
35-
],
27+
"permissions": ["<all_urls>", "tabs", "storage", "notifications"],
3628
"content_scripts": [
3729
{
38-
"matches": [
39-
"https://www.netflix.com/*"
40-
],
41-
"js": [
42-
"js/players/netflix/loadNetflix.js"
43-
]
30+
"matches": ["https://www.netflix.com/*"],
31+
"js": ["js/players/netflix/loadNetflix.js"]
4432
}
4533
],
46-
"web_accessible_resources": [
47-
"js/players/netflix/netflix.js"
48-
],
34+
"web_accessible_resources": ["js/players/netflix/netflix.js"],
4935
"browser_specific_settings": {
5036
"gecko": {
5137
"id": "{7558bb02-8595-4b93-b3bc-9f34319e9c4a}"
5238
}
5339
}
54-
}
40+
}

0 commit comments

Comments
 (0)