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; |