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

consolidate http request handling, and use api urls fresh every time #30

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

dit-zy
Copy link
Owner

@dit-zy dit-zy commented Aug 15, 2024

api urls were loaded into each manager's httpclient in the constructors. this resulted in tweaks to the urls not actually changing which url was used, until the plugin is reloaded. this also introduced a problem where if the url is invalid, then the plugin will fail to load outright, and the user will have to manually edit save data to fix the url. so obviously both of those things suck XD

api urls were loaded into each manager's httpclient in the constructors. this resulted in tweaks to the urls not actually changing which url was used, until the plugin is reloaded. this also introduced a problem where if the url is invalid, then the plugin will fail to load outright, and the user will have to manually edit save data to fix the url. so obviously both of those things suck XD
@dit-zy
Copy link
Owner Author

dit-zy commented Aug 15, 2024

tested

@dit-zy dit-zy merged commit 3c8c42d into main Aug 15, 2024
1 check failed
@dit-zy dit-zy deleted the api-urls branch August 15, 2024 17:09
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

Successfully merging this pull request may close these issues.

1 participant