const urlRedirect = url => location.href = url;
urlRedirect("https://postsrc.com"); // it will automatically navigate to the URL
Learn how to define URL Redirect With One-Liner Snippet
Created on Jun 28, 2022
•173 views
const urlRedirect = url => location.href = url;
urlRedirect("https://postsrc.com"); // it will automatically navigate to the URL
If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️
Load comments for URL Redirect One-Liner Snippet
Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.
View Components2 years ago
2 years ago
1 year ago
1 year ago
2 years ago
2 years ago