Skip to content

Commit 90e4a40

Browse files
author
Nguyen Anh Tu
committed
correct vue demo app env var
1 parent f030cc8 commit 90e4a40

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
npm install
4444
npm run build
4545
env:
46-
VITE_SOLANA_MAINNET_RPC: ${{ secrets.VITE_SOLANA_MAINNET_RPC }}
46+
VITE_APP_SOLANA_MAINNET_RPC: ${{ secrets.VITE_APP_SOLANA_MAINNET_RPC }}
4747
VITE_APP_PIMLICO_API_KEY: ${{ secrets.PIMLICO_API_KEY }}
4848

4949
# Copy the files from build folder to the S3 bucket

demo/vue-app-new/src/config.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
import { LANGUAGE_TYPE, LANGUAGES, LOGIN_PROVIDER, LOGIN_PROVIDER_TYPE, WhiteLabelData } from "@web3auth/auth";
2-
import { CHAIN_NAMESPACES, ChainNamespaceType, CustomChainConfig, WEB3AUTH_NETWORK, WEB3AUTH_NETWORK_TYPE, SignTypedDataMessageV4, CONFIRMATION_STRATEGY, type CONFIRMATION_STRATEGY_TYPE } from "@web3auth/modal";
2+
import {
3+
CHAIN_NAMESPACES,
4+
ChainNamespaceType,
5+
CustomChainConfig,
6+
WEB3AUTH_NETWORK,
7+
WEB3AUTH_NETWORK_TYPE,
8+
SignTypedDataMessageV4,
9+
CONFIRMATION_STRATEGY,
10+
type CONFIRMATION_STRATEGY_TYPE,
11+
} from "@web3auth/modal";
312

413
import { FormConfigSettings } from "./interfaces";
514

@@ -81,7 +90,7 @@ export const chainConfigs: Record<ChainNamespaceType, CustomChainConfig[]> = {
8190
},
8291
{
8392
chainNamespace: CHAIN_NAMESPACES.SOLANA,
84-
rpcTarget: import.meta.env.VITE_SOLANA_MAINNET_RPC,
93+
rpcTarget: import.meta.env.VITE_APP_SOLANA_MAINNET_RPC,
8594
blockExplorerUrl: "https://explorer.solana.com",
8695
logo: "https://cryptologos.cc/logos/solana-sol-logo.png",
8796
chainId: "0x65",

0 commit comments

Comments
 (0)