xaizek / uncov (License: AGPLv3+) (since 2018-12-07)
Uncov(er) is a tool that collects and processes code coverage reports.
Commit 41d9e33b208bb7c678b008fa20cc32d930a42e8f

Fix serving static Web files
Some version of tntnet started taking file extensions into account.
Author: xaizek
Author date (UTC): 2025-10-04 12:57
Committer name: xaizek
Committer date (UTC): 2025-10-04 12:57
Parent(s): 4ff153aeba76f3eb1c993baf7ce573b443eac5af
Signing key: 99DC5E4DB05F6BE2
Tree: 39dffeb854304c21724eda4e50a86e8d2504320d
File Lines added Lines deleted
web/main.cpp 3 3
File web/main.cpp changed (mode: 100644) (index 931353a..796bcc7)
... ... main(int argc, char *argv[]) try
127 127 setArgs(app.vMapUrl(vhost, "^/badges/svg/(.*)$", setArgs(app.vMapUrl(vhost, "^/badges/svg/(.*)$",
128 128 Maptarget("badge")), Maptarget("badge")),
129 129 {{ "branch", "$1" }}); {{ "branch", "$1" }});
130 app.vMapUrl(vhost, "^/style.css", Maptarget("style"));
131 app.vMapUrl(vhost, "^/favicon.ico", Maptarget("favicon"));
132 app.vMapUrl(vhost, "^/robots.txt", Maptarget("robots"));
130 app.vMapUrl(vhost, "^/style.css", Maptarget("style.css"));
131 app.vMapUrl(vhost, "^/favicon.ico", Maptarget("favicon.ico"));
132 app.vMapUrl(vhost, "^/robots.txt", Maptarget("robots.txt"));
133 133 app.run(); app.run();
134 134 } catch (const std::exception &e) { } catch (const std::exception &e) {
135 135 std::cerr << e.what() << std::endl; std::cerr << e.what() << std::endl;
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/uncov

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/uncov

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master