Skip to content

Commit 257a49c

Browse files
fix(companion): replaced localhost with prod url (calcom#25576)
* replaced localhost with prod url * nit --------- Co-authored-by: Dhairyashil Shinde <93669429+dhairyashiil@users.noreply.github.com>
1 parent 75b93ce commit 257a49c

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/.yarn/** linguist-vendored
2+
/.yarn/releases/* binary
3+
/.yarn/plugins/**/* binary
4+
/.pnp.* binary linguist-generated

companion/extension/entrypoints/content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default defineContentScript({
4848

4949
// Create iframe
5050
const iframe = document.createElement("iframe");
51-
iframe.src = "http://localhost:8081";
51+
iframe.src = "https://companion.cal.com";
5252
iframe.style.width = "400px";
5353
iframe.style.height = "100%";
5454
iframe.style.border = "none";

companion/extension/public/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"name": "Cal.com Companion",
44
"version": "1.7.0",
55
"description": "Your calendar companion for quick booking and scheduling",
6-
"permissions": ["activeTab", "http://localhost:8081/*", "identity"],
6+
"permissions": ["activeTab", "https://companion.cal.com/*", "identity"],
77
"content_security_policy": {
8-
"extension_pages": "script-src 'self'; object-src 'self'; frame-src 'self' http://localhost:8081;"
8+
"extension_pages": "script-src 'self'; object-src 'self'; frame-src 'self' https://companion.cal.com;"
99
},
1010
"action": {
1111
"default_title": "Cal.com Companion"

companion/wxt.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ export default defineConfig({
1111
description: "Your calendar companion for quick booking and scheduling",
1212
permissions: ["activeTab", "storage", "identity"],
1313
host_permissions: [
14-
"http://localhost:8081/*",
14+
"https://companion.cal.com/*",
1515
"https://api.cal.com/*",
1616
"https://app.cal.com/*",
1717
"https://mail.google.com/*",
1818
],
1919
content_security_policy: {
2020
extension_pages:
21-
"script-src 'self'; object-src 'self'; frame-src 'self' http://localhost:8081;",
21+
"script-src 'self'; object-src 'self'; frame-src 'self' https://companion.cal.com",
2222
},
2323
action: {
2424
default_title: "Cal.com Companion",

0 commit comments

Comments
 (0)