Skip to content

Commit

Permalink
Remove absolute link to index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
namse committed May 9, 2023
1 parent 4965f60 commit 387f8ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flow/site-generate/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn create_index(md_files: &Vec<MdFile>) -> MdFile {
.unwrap();

format!(
"- [{}](/{})",
"- [{}]({})",
file_name,
urlencoding::encode(
md_file
Expand Down
2 changes: 1 addition & 1 deletion flow/site-generate/src/md_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl MdFile {
<body>
{root}
</body>
<script type="module" src="/index.js"></script>
<script type="module" src="index.js"></script>
</html>
"#
)
Expand Down

0 comments on commit 387f8ba

Please sign in to comment.