Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default defineConfig({
words: 'total',
},
recentPostCount: 5,
postCount: Infinity,
postCount: Number.MAX_SAFE_INTEGER,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to change the value here which generated the following error:

8:35:23 Configuration file updated. Restarting...
[astro] Unable to load your Astro config

18:35:23 [ERROR] [config] [AstroUserError] Invalid starlight-blog configuration:

✖ Invalid input: expected number, received number
  → at postCount

  Hint:
    See the error report above for more informations.
    
    If you believe this is a bug, please file an issue at https://github.com/HiDeoo/starlight-blog/issues/new/choose
  Stack trace:
    at validateConfig (/Users/ju/open-reSource/openresource.dev/node_modules/starlight-blog/libs/config.ts:98:11)
    at eval (/Users/ju/open-reSource/openresource.dev/astro.config.mjs:42:18)
    [...] See full stack trace in the browser, or rerun with --verbose.

18:35:23 [ERROR] Continuing with previous valid configuration

Found the new value at https://github.com/HiDeoo/starlight-blog/pull/105/changes.

I'll check upstream later on if there's a regression somehow.

navigation: 'none',
}),
],
Expand Down
Loading
Loading