Skip to content

Commit 35b4fc2

Browse files
committed
Use local faucet instead of remote web url
1 parent 47f90b4 commit 35b4fc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ export default defineConfig({
77
server: {
88
proxy: {
99
'/friendbot': {
10-
target: 'https://friendbot.stellar.org/',
10+
// Use the local faucet http://localhost:8000/friendbot
11+
target: 'http://localhost:8000',
1112
changeOrigin: true,
12-
rewrite: (path) => path.replace(/^\/friendbot/, ''),
1313
},
1414
}
1515
}

0 commit comments

Comments
 (0)