aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-11-17 10:00:58 +0100
committerChristian Grothoff <christian@grothoff.org>2023-11-17 10:00:58 +0100
commit86c021fe630ab0b5153cdeadb5cca943e48e4797 (patch)
treed7b29fa703a4c5887224d7dab89139ef15d70ad1
parentf848f7ac5c4fbfca456d3f374bdfc642da08951c (diff)
-add comment
-rw-r--r--src/backend/taler-merchant-httpd.c9
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,