oops i forgor to switch that back lol
This commit is contained in:
parent
57a539a3df
commit
af5300ec16
1 changed files with 1 additions and 1 deletions
|
@ -11,5 +11,5 @@ const newestPost = posts.sort((a, b) => compareDesc(new Date(a.data.date), new D
|
||||||
console.log(newestPost.slug)
|
console.log(newestPost.slug)
|
||||||
|
|
||||||
export const GET: APIRoute = ({ redirect }) => {
|
export const GET: APIRoute = ({ redirect }) => {
|
||||||
return redirect('http://localhost:4321/posts/' + newestPost.slug, 307);
|
return redirect('https://eleboog.com/posts/' + newestPost.slug, 307);
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue