Skip to content

Commit

Permalink
clean up urls
Browse files Browse the repository at this point in the history
  • Loading branch information
rrelyea committed Nov 11, 2022
1 parent 408ce4b commit 533ea86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/Pages/Search.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page "/search"
@page "/search/{engine}"
@page "/search/"
@page "/search/{engine}/"
@inject NavigationManager NavigationManager
@inject IJSRuntime JSRuntime

Expand Down Expand Up @@ -42,11 +42,11 @@ bogle.tools/search/@engine
prompt = "Switch to use:";
}
@prompt
<a href="search/bing/">Bing.com</a> |
<a href="search/brave/">Brave.com</a> |
<a href="search/duckduckgo/">DuckDuckGo.com</a> |
<a href="search/google/">Google.com</a> |
<a href="search/other/">Other</a>
<a href="search/bing">Bing.com</a> |
<a href="search/brave">Brave.com</a> |
<a href="search/duckduckgo">DuckDuckGo.com</a> |
<a href="search/google">Google.com</a> |
<a href="search/other">Other</a>
</p>

@if (engine == "other") {
Expand Down
2 changes: 1 addition & 1 deletion src/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>bogle.tools/saving</title>
<title>bogle.tools</title>
<base href="/saving" />
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
<link href="css/app.css" rel="stylesheet" />
Expand Down

0 comments on commit 533ea86

Please sign in to comment.