diff options
author | Sebastian <sebasjm@gmail.com> | 2021-06-16 17:01:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-06-16 17:17:18 -0300 |
commit | 86636142a2e3fb3373363c2c0c87ce5167975b74 (patch) | |
tree | 0fcbe5e3c2a68ab21a5d9b6f65e443c1f2e4443b /packages/taler-wallet-webextension/src/wxBackend.ts | |
parent | 562b2cf8d29cf3392ddd1e1bd0793d92413d9658 (diff) | |
download | wallet-core-86636142a2e3fb3373363c2c0c87ce5167975b74.tar.xz |
split wallet,popup .html
Diffstat (limited to 'packages/taler-wallet-webextension/src/wxBackend.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/wxBackend.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index cbcbf5e0b..9c01f4c0c 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -285,7 +285,7 @@ try { chrome.runtime.onInstalled.addListener((details) => { console.log("onInstalled with reason", details.reason); if (details.reason === "install") { - const url = chrome.extension.getURL("/static/popup.html#/welcome"); + const url = chrome.extension.getURL("/static/wallet.html#/welcome"); chrome.tabs.create({ active: true, url: url }); } }); @@ -320,7 +320,7 @@ function headerListener( switch (uriType) { case TalerUriType.TalerWithdraw: return makeSyncWalletRedirect( - "/static/popup.html#/withdraw", + "/static/wallet.html#/withdraw", details.tabId, details.url, { @@ -329,7 +329,7 @@ function headerListener( ); case TalerUriType.TalerPay: return makeSyncWalletRedirect( - "/static/popup.html#/pay", + "/static/wallet.html#/pay", details.tabId, details.url, { @@ -338,7 +338,7 @@ function headerListener( ); case TalerUriType.TalerTip: return makeSyncWalletRedirect( - "/static/popup.html#/tip", + "/static/wallet.html#/tip", details.tabId, details.url, { @@ -347,7 +347,7 @@ function headerListener( ); case TalerUriType.TalerRefund: return makeSyncWalletRedirect( - "/static/popup.html#/refund", + "/static/wallet.html#/refund", details.tabId, details.url, { |