diff --git a/yarn-project/cli/src/cmds/devnet/faucet.ts b/yarn-project/cli/src/cmds/devnet/faucet.ts index 73e9d5c0642..c99b19b973c 100644 --- a/yarn-project/cli/src/cmds/devnet/faucet.ts +++ b/yarn-project/cli/src/cmds/devnet/faucet.ts @@ -10,7 +10,7 @@ export async function dripFaucet( json: boolean, log: LogFn, ): Promise { - const url = new URL(`${faucetUrl}/drip/${account.toString()}`); + const url = new URL(`/drip/${account.toString()}`, faucetUrl); url.searchParams.set('asset', asset); const res = await fetch(url); if (res.status === 200) {