UmbrellaDocs / linkspector

Uncover broken links in your content.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

baseURL vs baseUrl

bmuenzenmeyer opened this issue · comments

This library is exactly what I was looking for, thanks so far!


I'm having trouble using baseUrl in the config.

Docs: baseUrl https://github.com/UmbrellaDocs/linkspector?tab=readme-ov-file#base-url
Config Validator: baseUrl https://github.com/UmbrellaDocs/linkspector/blob/main/lib/validate-config.js#L25
Usage: baseURL destructured off of config -

if (baseURL && url.startsWith('/')) {

I think this mismatch is making it never be applied, right?

@bmuenzenmeyer Thank you for creating a detailed issue. I've pushed a fix.