Skip to content

Commit abf3f10

Browse files
committed
deploy: 3461337
1 parent 5d99c20 commit abf3f10

6 files changed

Lines changed: 69 additions & 30 deletions

File tree

404.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>Yifei Bao · AI/ML Engineer</title>
6+
<script>
7+
// GitHub Pages SPA redirect:
8+
// Convert /path?query#hash → /?p=path&q=query#hash
9+
// so index.html can restore the original URL via history.replaceState.
10+
(function () {
11+
var l = window.location;
12+
var path = l.pathname.slice(1); // strip leading "/"
13+
var redirect =
14+
l.protocol +
15+
"//" +
16+
l.host +
17+
"/?p=" +
18+
encodeURIComponent(path) +
19+
(l.search ? "&q=" + encodeURIComponent(l.search.slice(1)) : "") +
20+
l.hash;
21+
l.replace(redirect);
22+
})();
23+
</script>
24+
</head>
25+
<body></body>
26+
</html>

assets/Projects-VSe80Uc0.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/Projects-oP2lq_vL.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)