Skip to content

Commit 95fcac4

Browse files
Merge pull request #2078 from Web3Auth/fix/demo
Fix demo app not running
2 parents 5863993 + 60e5b17 commit 95fcac4

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ 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.SOLANA_MAINNET_RPC }}
47+
VITE_APP_SOLANA_TESTNET_RPC: ${{ secrets.SOLANA_TESTNET_RPC }}
48+
VITE_APP_SOLANA_DEVNET_RPC: ${{ secrets.SOLANA_DEVNET_RPC }}
4749
VITE_APP_PIMLICO_API_KEY: ${{ secrets.PIMLICO_API_KEY }}
4850

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

demo/vue-app-new/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
"vite": "^6.0.11",
4444
"vue-tsc": "^2.2.0"
4545
},
46+
"optionalDependencies": {
47+
"@esbuild/linux-x64": "0.25.0"
48+
},
4649
"lint-staged": {
4750
"!(*d).{js,ts}": [
4851
"eslint --cache --fix",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const chainConfigs: Record<ChainNamespaceType, CustomChainConfig[]> = {
8181
},
8282
{
8383
chainNamespace: CHAIN_NAMESPACES.SOLANA,
84-
rpcTarget: import.meta.env.VITE_SOLANA_MAINNET_RPC,
84+
rpcTarget: import.meta.env.VITE_APP_SOLANA_MAINNET_RPC,
8585
blockExplorerUrl: "https://explorer.solana.com",
8686
logo: "https://cryptologos.cc/logos/solana-sol-logo.png",
8787
chainId: "0x65",

0 commit comments

Comments
 (0)