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

Allow urls for files to be relative to a common base url #39

Open
AdmiringWorm opened this issue Feb 19, 2019 · 1 comment
Open

Allow urls for files to be relative to a common base url #39

AdmiringWorm opened this issue Feb 19, 2019 · 1 comment

Comments

@AdmiringWorm
Copy link
Contributor

Expected Behavior

Allow for a base url variable to be set in the configuration, which would be prepended the urls of the files themself if they aren't an absolute url.

Current Behavior

Currently, if you only wish to use files from a different repository and it has the exact same file structure, you'll need to edit every url in the configuration.

Possible Solution

Read a base url variable and store it, then read the url/path for the file the user wishes to download. If that url/path isn't an absolute url, then append that path to the base url.

Context

Makes it cumbersum to use the extension if you wish to use a different repository with the same file structure.

Your Environment

Not really relevant, as it isn't a bug.

@AdmiringWorm AdmiringWorm changed the title Allow urls to files to be relative to a common base url Allow urls for files to be relative to a common base url Feb 19, 2019
@gep13
Copy link
Member

gep13 commented Feb 19, 2019

This is an interesting idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants