aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ecash.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ecash.ts b/lib/ecash.ts
index f22a1a0e..ade7f220 100644
--- a/lib/ecash.ts
+++ b/lib/ecash.ts
@@ -99,7 +99,7 @@ export async function init(amount = 100000) {
}
export function request(uuid, amount, memo) {
- const target = `${URL}/ecash/${uuid}`;
+ const target = `${URL}/api/ecash/${uuid}`;
const { POST: type } = PaymentRequestTransportType;
const transport = [{ type, target }];