diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-11-17 10:00:58 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-11-17 10:00:58 +0100 |
commit | 86c021fe630ab0b5153cdeadb5cca943e48e4797 (patch) | |
tree | d7b29fa703a4c5887224d7dab89139ef15d70ad1 | |
parent | f848f7ac5c4fbfca456d3f374bdfc642da08951c (diff) |
-add comment
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 5a581928..9137c39b 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -586,6 +586,15 @@ handle_server_options (const struct TMH_RequestHandler *rh, } +/** + * Generates the response for "/", redirecting the + * client to the "/webui/" from where we serve the SPA. + * + * @param rh request handler + * @param connection MHD connection + * @param hc handler context + * @return MHD result code + */ static MHD_RESULT spa_redirect (const struct TMH_RequestHandler *rh, struct MHD_Connection *connection, |