---
const authUrl = import.meta.env.PUBLIC_AUTH_URL ?? '';
const target  = authUrl ? authUrl + '/login/' : '/';
---
<meta http-equiv="refresh" content={`0;url=${target}`} />
<script define:vars={{ target }}>window.location.replace(target);</script>
