Skip to content

Commit

Permalink
Add redirect back
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Jan 16, 2024
1 parent 46e590f commit 2ddeaf6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function App() {
<Route path="/" element={<Home />} />
<Route path="/about" element={<About />} />
{/* TODO: Remove hardcoded URL */}
{/* <Route path="/uk" element={<UKRedirect to="https://uk.delv.tech" />} /> */}
<Route path="/uk" element={<UKRedirect to="https://uk.delv.tech" />} />
</Routes>
</div>
</>
Expand All @@ -25,7 +25,7 @@ function App() {

export default App;

// function UKRedirect({ to }: { to: string }) {
// window.location.replace(to);
// return <></>;
// }
function UKRedirect({ to }: { to: string }) {
window.location.replace(to);
return <></>;
}

2 comments on commit 2ddeaf6

@vercel
Copy link

@vercel vercel bot commented on 2ddeaf6 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2ddeaf6 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.