Skip to content

Commit

Permalink
Add: Host Redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
AmosHuKe committed May 24, 2024
1 parent b36fb8a commit 8568503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/host-redirect/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import data from './data/firebase_json.js'

const currentPath = window.location.pathname;
const redirect = getRedirect(currentPath)
console.log('Redirect: ', redirect)
console.log('Redirect:', redirect)
if (redirect) {
window.location.href = redirect
}
Expand Down

0 comments on commit 8568503

Please sign in to comment.