diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-08-24 12:26:21 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-08-24 12:26:21 +0200 |
commit | 4f2127c69a95aadce96b1cfe441721045c8766c8 (patch) | |
tree | fd17a375a783088ec31e2c18f8fe35cc2d64c6d5 | |
parent | cadd58c4f66fb861f51f11c30c28217e4362a5d5 (diff) | |
download | exchange-4f2127c69a95aadce96b1cfe441721045c8766c8.tar.xz |
more libeufin like fakebank paths
-rw-r--r-- | src/bank-lib/fakebank.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index c0eb41bd7..2241c494c 100644 --- a/src/bank-lib/fakebank.c +++ b/src/bank-lib/fakebank.c @@ -4430,6 +4430,20 @@ handle_mhd_request (void *cls, upload_data_size, con_cls); } + /* Next is duplication to be more libeufin-like: */ + if (0 == strncmp (url, + "/access-api/", + strlen ("/access-api/"))) + { + url += strlen ("/access-api"); + return handle_bank_access (h, + connection, + url, + method, + upload_data, + upload_data_size, + con_cls); + } if (0 == strncmp (url, "/anastasis-api/", strlen ("/anastasis-api/"))) |