Skip to content

Commit 8e3cebe

Browse files
committed
Remove passing href to web
1 parent 5505aab commit 8e3cebe

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

extension/src/content/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,13 @@ async function _init(localConfigs: Promise<object>) {
5656
console.warn('[minusx] MetabaseBootstrap not found, using window location origin')
5757
}
5858
console.log('[minusx] Origin:', origin)
59-
const href = window.location.href
6059
const width = '350'
6160
const variant = 'default'
6261

6362
const iframeInfo: IframeInfo = {
6463
tool,
6564
toolVersion,
6665
origin,
67-
href,
6866
mode,
6967
r:extensionId,
7068
variant,

extension/src/content/types.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export interface IframeInfo {
22
tool: string
33
toolVersion: string
44
origin: string
5-
href: string
65
mode: string
76
r: string
87
variant: 'default' | 'instructions'

web/src/helpers/origin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export const defaultIframeInfoWeb: IframeInfoWeb = {
1111
tool: '',
1212
toolVersion: '',
1313
origin: '',
14-
href: '',
1514
mode: '',
1615
r: '',
1716
variant: 'default',

0 commit comments

Comments
 (0)