• 1 Post
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle


  • Can you move the server name to an .env variable so I don’t have to run a sed? sharing my sed:

    Yes, definitely will do.

    On desktop browser, I’m getting a ‘500 internal error’ on the /r/post/xxx route, but not sure why. The console isn’t showing anything. The page.server.js seems to get the JSON fine from the API, but the .svelte file in that route is failing.

    I think I know this issue. When clicking a post from the front page it stores the post so upon landing on /post/xxx it doesn’t have to refetch that data. It fetches the comments on /post/xxx but not the post itself. Just need to fetch the post itself if someone lands directly on that page.