fix(companion): replaced localhost with prod url (#25576)
* replaced localhost with prod url * nit --------- Co-authored-by: Dhairyashil Shinde <93669429+dhairyashiil@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
/.yarn/** linguist-vendored
|
||||
/.yarn/releases/* binary
|
||||
/.yarn/plugins/**/* binary
|
||||
/.pnp.* binary linguist-generated
|
||||
@@ -48,7 +48,7 @@ export default defineContentScript({
|
||||
|
||||
// Create iframe
|
||||
const iframe = document.createElement("iframe");
|
||||
iframe.src = "http://localhost:8081";
|
||||
iframe.src = "https://companion.cal.com";
|
||||
iframe.style.width = "400px";
|
||||
iframe.style.height = "100%";
|
||||
iframe.style.border = "none";
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "Cal.com Companion",
|
||||
"version": "1.7.0",
|
||||
"description": "Your calendar companion for quick booking and scheduling",
|
||||
"permissions": ["activeTab", "http://localhost:8081/*", "identity"],
|
||||
"permissions": ["activeTab", "https://companion.cal.com/*", "identity"],
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self'; object-src 'self'; frame-src 'self' http://localhost:8081;"
|
||||
"extension_pages": "script-src 'self'; object-src 'self'; frame-src 'self' https://companion.cal.com;"
|
||||
},
|
||||
"action": {
|
||||
"default_title": "Cal.com Companion"
|
||||
|
||||
@@ -11,14 +11,14 @@ export default defineConfig({
|
||||
description: "Your calendar companion for quick booking and scheduling",
|
||||
permissions: ["activeTab", "storage", "identity"],
|
||||
host_permissions: [
|
||||
"http://localhost:8081/*",
|
||||
"https://companion.cal.com/*",
|
||||
"https://api.cal.com/*",
|
||||
"https://app.cal.com/*",
|
||||
"https://mail.google.com/*",
|
||||
],
|
||||
content_security_policy: {
|
||||
extension_pages:
|
||||
"script-src 'self'; object-src 'self'; frame-src 'self' http://localhost:8081;",
|
||||
"script-src 'self'; object-src 'self'; frame-src 'self' https://companion.cal.com",
|
||||
},
|
||||
action: {
|
||||
default_title: "Cal.com Companion",
|
||||
|
||||
Reference in New Issue
Block a user