๐Ÿ A very simple static Gemini server, now with Titan support!
cpp gemini titan gemini-protocol titan-protocol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(maple.cc): iterator on non-variable

Fuwn e8f5c184 be161280

+3 -2
+3 -2
maple/maple.cc
··· 37 37 bool titan = false; 38 38 std::string titan_token; 39 39 size_t titan_max_size = 0; 40 + const std::string GEMINI_FILE_EXTENSION = "gmi"; 40 41 41 42 // Check if the user is want to support Titan and set it up 42 43 maple::setup_environment(titan, titan_token, titan_max_size); ··· 61 62 if (std::equal( 62 63 file_extension.begin(), 63 64 file_extension.end(), 64 - std::string("gmi").begin(), 65 - std::string("gmi").end(), 65 + GEMINI_FILE_EXTENSION.begin(), 66 + GEMINI_FILE_EXTENSION.end(), 66 67 [](char a, char b) -> bool { return std::tolower(a) == std::tolower(b); } 67 68 )) { 68 69 gemini_files.push_back(entry.path());