Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
{ pattern: /^\/glossary\/([^/]+)\/.+/, target: '/glossary/$1/' },
{ pattern: /^\/author(\/|$)/, target: '/contributors/' },
{ pattern: /^\/summaries(\/|$)/, target: '/' },
{ pattern: /^\/reversals(\/|$)/, target: '/' }
{ pattern: /^\/reversals(\/|$)/, target: '/' },
{ pattern: /^\/re-searchterms\/?$/, target: '/apps/re-searchterms.html' }
];
for (var i = 0; i < redirects.length; i++) {
var match = path.match(redirects[i].pattern);
Expand Down
6 changes: 6 additions & 0 deletions netlify.toml.deprecated
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@
status = 301
force = false

[[redirects]]
from = "/re-searchterms"
to = "/apps/re-searchterms.html"
status = 301
force = false

[[headers]]
for = "*.webmanifest"
[headers.values]
Expand Down
22 changes: 22 additions & 0 deletions static/apps/re-searchterms.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Re-SearchTerms</title>
</head>
<body>
<style>
html, body {
height: 100%;
margin: 0;
}
iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
<iframe src="https://msleungyi.shinyapps.io/Re-SearchTerms_v2/"></iframe>
</body>
</html>