diff --git a/backends/networking/sdl_net/handlers/indexpagehandler.cpp b/backends/networking/sdl_net/handlers/indexpagehandler.cpp index da5cd2d3f94..9208cd0b158 100644 --- a/backends/networking/sdl_net/handlers/indexpagehandler.cpp +++ b/backends/networking/sdl_net/handlers/indexpagehandler.cpp @@ -35,8 +35,18 @@ IndexPageHandler::~IndexPageHandler() {} void IndexPageHandler::handle(Client &client) { Common::String code = client.queryParameter("code"); - if (code == "") { - HandlerUtils::setMessageHandler(client, _("This is a local webserver index page.")); + if (code == "") { + // redirect to "/files" + HandlerUtils::setMessageHandler( + client, + Common::String::format( + "%s
%s", + _("This is a local webserver index page."), + client.queryParameter("path").c_str(), + _("Open Files manager") + ), + "/files" + ); return; }