summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.c
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 /src/backend/taler-merchant-httpd.c
parentf848f7ac5c4fbfca456d3f374bdfc642da08951c (diff)
downloadmerchant-86c021fe630ab0b5153cdeadb5cca943e48e4797.tar.gz
merchant-86c021fe630ab0b5153cdeadb5cca943e48e4797.tar.bz2
merchant-86c021fe630ab0b5153cdeadb5cca943e48e4797.zip
-add comment
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-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,