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

Script adding extra /youtrack to urls #9

Open
Bemte opened this issue Nov 19, 2024 · 1 comment
Open

Script adding extra /youtrack to urls #9

Bemte opened this issue Nov 19, 2024 · 1 comment

Comments

@Bemte
Copy link

Bemte commented Nov 19, 2024

Hi Karsten,

first of all, thanks a lot for this project!

I had a small issue with the base URL.
You seem to assume that an URL always has the form

https://myserver.intern/youtrack/api/...

In that case, setting YT_URL=https://myserver.intern works, your script adds /youtrack and the rest of the path.

That breaks, however, when you host youtrack in one of the following ways:

https://youtrack.myserver.intern
http://192.168.178.123:8080

In these examples, the extra /youtrack added breaks the URL.

I was able to fix it by simply removing the extra /youtrack from all paths defined in ytlib.py, but that is of course not a general solution as it would surely break things in other places.

@KarstenSchulz
Copy link
Owner

Thanks for the hint, you’re right about that. There should be a general way to configure the URL. I’ll take a look at it (someday).

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