Static URL Shortener
🔙 👨💻 2024-11-15
Statically render your shortened URLs with Astro then redirect the user to the final destination using
<meta http-equiv="refresh" content="1;url=https://github.com/Its-Just-Nans">
<script>
const url = "https://github.com/Its-Just-Nans";
window.location = url;
</script>
Links
New idea just dropped: what about generating PHP files with astro ? 🤔