-
Notifications
You must be signed in to change notification settings - Fork 1
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
26 Update frontend for api changes #16
Conversation
export const getCreateAppUrl = (slug: ProjectSlug,) => { | ||
|
||
|
||
return `http://localhost:8081/api/v3/apps/${slug}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are these references to localhost
generated from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, that's because I changed the BADGEHUB_API_BASEURL env var locally and to be able to get the new definitions generated with orval
. I'll do a batch replace, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But that actually also brings me to the point that this should not be hardcoded in the generated files.
I'll check if I can change that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK updated now:
c52220f
932e17f
to
8a90cb3
Compare
Makes the frontend compatible with badgehub-api changes that were done in preparation for app uploads:
Relates to API pr's:
badgeteam/badgehub-api#35
badgeteam/badgehub-api#34