Skip to content

Commit

Permalink
fix: replace all local.com with local.fylla.dev (#4240)
Browse files Browse the repository at this point in the history
  • Loading branch information
omBratteng authored Feb 26, 2025
1 parent 6ce79fd commit 634a999
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/extension/src/lib/extensionScripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type CreateRequestContentScripts = (

export const HOST_PERMISSIONS = isProduction
? ['https://daily.dev/*', 'https://*.daily.dev/*']
: ['http://local.com/*', 'http://*.local.com/*'];
: ['https://local.fylla.dev/*', 'https://*.local.fylla.dev/*'];

let hasInjectedScripts = false;
const companionScriptId = 'daily-companion-app';
Expand Down
4 changes: 2 additions & 2 deletions packages/extension/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"https://*.dailynow.co/"
],
"__dev__permissions": ["storage", "scripting"],
"__dev__host_permissions": ["http://localhost/", "http://*.local.com/"],
"__firefox|dev__permissions": ["storage", "http://localhost/", "http://*.local.com/"],
"__dev__host_permissions": ["http://localhost/", "https://*.local.fylla.dev/"],
"__firefox|dev__permissions": ["storage", "http://localhost/", "https://*.local.fylla.dev/"],
"optional_permissions": ["topSites"],
"__firefox__optional_permissions": ["topSites", "*://*/*"],
"__chrome|opera|edge__optional_host_permissions": [ "*://*/*"],
Expand Down
10 changes: 5 additions & 5 deletions packages/shared/__tests__/fixture/squads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ export const generateTestAdmin = (
name: 'Lee Hansel Solevilla',
image:
'https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile',
permalink: 'http://webapp.local.com:5002/abc123zzzz',
permalink: 'https://app.local.fylla.dev:5002/abc123zzzz',
username: 'abc123zzzz',
},
source: {
id: '559581c2-ee2d-440c-b27f-358b074bb0d4',
active: true,
handle: 'test',
name: 'Test',
permalink: 'http://webapp.local.com:5002/squads/test',
permalink: 'https://app.local.fylla.dev:5002/squads/test',
public: true,
type: SourceType.Squad,
image: cloudinarySquadsImageFallback,
Expand All @@ -49,7 +49,7 @@ export const generateTestAdmin = (
name: 'Lee Hansel Solevilla',
image:
'https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile',
permalink: 'http://webapp.local.com:5002/a123124124111',
permalink: 'https://app.local.fylla.dev:5002/a123124124111',
username: 'a123124124111',
},
source: null,
Expand All @@ -68,7 +68,7 @@ export const generateTestAdmin = (
name: 'Lee Hansel Solevilla',
image:
'https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile',
permalink: 'http://webapp.local.com:5002/a123124124111',
permalink: 'https://app.local.fylla.dev:5002/a123124124111',
username: 'a123124124111',
},
source: {
Expand Down Expand Up @@ -234,7 +234,7 @@ export const generateTestMember = (
id: `Se4LmwLU0q6aVDpX1MkqX${i}`,
name: `Lee Hansel Solevilla - ${i}`,
image: `https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile${i}`,
permalink: `http://webapp.local.com:5002/abc123zzzz${i}`,
permalink: `https://app.local.fylla.dev:5002/abc123zzzz${i}`,
username: `abc123zzzz${i}`,
},
source: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const meta: Meta<typeof SquadGrid> = {
name: 'Lee Hansel Solevilla',
image:
'https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile',
permalink: 'http://webapp.local.com:5002/a123124124111',
permalink: 'https://app.local.fylla.dev:5002/a123124124111',
username: 'a123124124111',
},
source: null,
Expand All @@ -49,7 +49,7 @@ const meta: Meta<typeof SquadGrid> = {
name: 'Lee Hansel Solevilla',
image:
'https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile',
permalink: 'http://webapp.local.com:5002/a123124124111',
permalink: 'https://app.local.fylla.dev:5002/a123124124111',
username: 'a123124124111',
},
source: null,
Expand All @@ -64,7 +64,7 @@ const meta: Meta<typeof SquadGrid> = {
name: 'Lee Hansel Solevilla',
image:
'https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile',
permalink: 'http://webapp.local.com:5002/a123124124111',
permalink: 'https://app.local.fylla.dev:5002/a123124124111',
username: 'a123124124111',
},
source: null,
Expand Down

0 comments on commit 634a999

Please sign in to comment.