Merge pull request #718 from Yamato-Security/moved_html_css_and_files

changed html report static resource path to ./config/html_report
This commit is contained in:
Yamato Security
2022-09-28 13:20:07 +09:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

BIN
config/html_report/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@@ -101,12 +101,12 @@ pub fn create_html_file(input_html: String, path_str: String) {
html {
head {
meta(charset="UTF-8");
link(rel="stylesheet", type="text/css", href="./hayabusa_report.css");
link(rel="icon", type="image/png", href="./favicon.png");
link(rel="stylesheet", type="text/css", href="./config/html_report/hayabusa_report.css");
link(rel="icon", type="image/png", href="./config/html_report/favicon.png");
}
body {
section {
img(id="logo", src = "./logo.png");
img(id="logo", src = "./config/html_report/logo.png");
: Raw(input_html.as_str());
}
}