Skip to content

Commit

Permalink
Fix rustfmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
syamajala committed Jul 15, 2024
1 parent 5cfc6d2 commit 66be91a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/archive_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,9 @@ impl<T: DeferredDataSource> DataSourceArchiveWriter<T> {
}
});

std::fs::write(self.path.join("index.html"),
"<html>
std::fs::write(
self.path.join("index.html"),
"<html>
<script>
window.onload = function() {
var prof = location
Expand All @@ -265,7 +266,9 @@ window.onload = function() {
window.location.replace(\"https://legion.stanford.edu/prof-viewer/?url=\"+prof.href);
}
</script>
</html>")?;
</html>
",
)?;

Ok(())
}
Expand Down

0 comments on commit 66be91a

Please sign in to comment.