diff options
| author | arf20 <aruizfernandez05@gmail.com> | 2025-12-08 02:54:02 +0100 |
|---|---|---|
| committer | arf20 <aruizfernandez05@gmail.com> | 2025-12-08 02:54:02 +0100 |
| commit | dd5a1ea40bc3d9cbf7005222569eda55a108442e (patch) | |
| tree | aba25ae8ce63e1940086e73e3178e505930f6931 | |
| parent | 0f0ed8d77c2d080aefb0ed82e978c14d9b51d0a9 (diff) | |
| download | arfnet2-search-dd5a1ea40bc3d9cbf7005222569eda55a108442e.tar.gz arfnet2-search-dd5a1ea40bc3d9cbf7005222569eda55a108442e.zip | |
baseurl app subdir
| -rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -260,7 +260,8 @@ enum MHD_Result answer_to_connection( /* build baseurl with query and filters (no sort) for sort links */ char baseurl[1024]; - snprintf(baseurl, 1024, "/query?q=%s&t=%s&ftl=%s&fth=%s&fsl=%s&fsh=%s", + snprintf(baseurl, 1024, "%s/query?q=%s&t=%s&ftl=%s&fth=%s&fsl=%s&fsh=%s", + app_subdir, query, query_type_str, filter_time_low ? filter_time_low : "", |
