chore: add configuration for localhost
All checks were successful
/ Build (push) Successful in 2m53s
All checks were successful
/ Build (push) Successful in 2m53s
This commit is contained in:
parent
3281bb2257
commit
2858629b97
|
@ -8,7 +8,9 @@ import Post from "@/components/Post.astro";
|
|||
|
||||
const { entry } = Astro.props;
|
||||
|
||||
const host = import.meta.env.PROD ? import.meta.env.SITE : "http://localhost";
|
||||
const host = import.meta.env.PROD
|
||||
? import.meta.env.SITE
|
||||
: "http://localhost:8000";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const blogEntries = await getCollection("blog");
|
||||
|
|
Loading…
Reference in New Issue
Block a user