Closed 1800joe closed 10 months ago
Disregard the commit changing the project URL (it's been reverted) I was playing around with a way to create a GH package and didn't realize I was still on the main branch
Hi @1800joe, I see what you're trying to achieve is to override where pagefind outputs the index and where this integration reads them from.
However, I would like to avoid using environment variables and go for integration options instead. Feel free to resubmit the PR is you feel it is still relevant.
This is a somewhat crude, but workable approach that makes the astro plugin aware of any config that gets sent to pagefind. It's necessary because if the subdir config is changed on pagefind, the astro plugin is configured to only use the default location and thus assets won't be found.