Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

links include source path when base url is set #21

Open
joshbeard opened this issue Apr 14, 2024 · 0 comments
Open

links include source path when base url is set #21

joshbeard opened this issue Apr 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@joshbeard
Copy link
Owner

joshbeard commented Apr 14, 2024

When running with --base-url specified

web-indexer --config /deploy/web-indexer.yml --base-url 'https://get.dev.foo.bar'

With a config like this:

source: /mnt/repos
target: /mnt/repos
link_to_index: false
relative_links: true
title: get.dev.foo.bar - {relativePath}
recursive: true
minify: true
order: desc

The links have the source in them - e.g. https://get.dev.foo.bar/mnt/repos/sub

@joshbeard joshbeard added the bug Something isn't working label Apr 14, 2024
@joshbeard joshbeard self-assigned this Apr 14, 2024
@joshbeard joshbeard changed the title paths gets screwy when unrelated cli args are passed links include source path when base url is set Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant