fix: landing page user test fixes (#162)

- Add VueQueryPlugin to landing main.ts (wagmi/vue requires it)
- Add Vite proxy for /api/graphql → ponder:42069/graphql
- Replace axios with native fetch in WalletCard.vue
- Add navigateTo() for CTA buttons (uses VITE_APP_URL env)
- Load contract addresses from bootstrap in landing entrypoint
- Add via_ir to foundry.toml (OptimizerV3Push3 stack-too-deep)
- Add VITE_APP_URL env to docker-compose landing service

Fixes: blank landing pages, broken LiveStats, missing CTA links,
missing contract addresses in footer
This commit is contained in:
openhands 2026-02-22 08:09:44 +00:00
parent 5e8a94b7a9
commit a46c30cff6
12 changed files with 82 additions and 344 deletions

View file

@ -19,5 +19,12 @@ export default defineConfig({
server: {
// Allow health checks from CI containers and proxy
allowedHosts: ['landing', 'caddy', 'localhost', '127.0.0.1'],
proxy: {
'/api/graphql': {
target: process.env.VITE_PONDER_URL || 'http://ponder:42069',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/graphql/, '/graphql'),
},
},
},
})