forked from cory/tildefriends
intro: The default app is intro, and complete intro changes the default app to ssb.
This commit is contained in:
@ -2202,8 +2202,7 @@ static void _tf_ssb_db_resolve_index_work(tf_ssb_t* ssb, void* user_data)
|
||||
|
||||
if (!request->path)
|
||||
{
|
||||
/* From default global settings. */
|
||||
request->path = tf_strdup("/~core/ssb/");
|
||||
request->path = tf_strdup(tf_util_get_default_global_setting_string("index"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -368,7 +368,7 @@ static const setting_t k_settings[] = {
|
||||
.type = "string",
|
||||
.description = "If connecting by HTTP and HTTPS is configured, Location header prefix (ie, \"http://example.com\")",
|
||||
.default_value = { .kind = k_kind_string, .string_value = NULL } },
|
||||
{ .name = "index", .type = "string", .description = "Default path.", .default_value = { .kind = k_kind_string, .string_value = "/~core/ssb/" } },
|
||||
{ .name = "index", .type = "string", .description = "Default path.", .default_value = { .kind = k_kind_string, .string_value = "/~core/intro/" } },
|
||||
{ .name = "index_map",
|
||||
.type = "textarea",
|
||||
.description = "Mappings from hostname to redirect path, one per line, as in: \"www.tildefriends.net=/~core/index/\"",
|
||||
|
Reference in New Issue
Block a user