-
-
Notifications
You must be signed in to change notification settings - Fork 132
fix: support BASE_URL for studio docker builds #1208
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
fix: support BASE_URL for studio docker builds #1208
Conversation
|
✅ Deploy Preview for asyncapi-studio-design-system ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for modest-rosalind-098b67 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
|
|
I think this PR is ready for review, thanks 🏓 |
|
@magicmatatjahu Do you think this PR makes sense? In the meantime, we built locally our own |
76caca0 to
49f070a
Compare
72a9470 to
6bf38e5
Compare
6bf38e5 to
1e39788
Compare
princerajpoot20
left a comment
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.
Good work @antoineauger . Just left a minor suggestion.
55c23e7 to
d32e9d9
Compare
d32e9d9 to
2fefe53
Compare
|
|
@princerajpoot20 I cleaned up the unnecessary changes, this should be ready now 👌🏻 |
princerajpoot20
left a comment
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.
LGTM! Good work @antoineauger
|
@Shurtu-gal PTAL |
Shurtu-gal
left a comment
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.
Lgtm @princerajpoot20
Thanks for the awesome work @antoineauger
|
/rtm |



Description
The support for the
BASE_URLenvironment variable introduced within #248 was sadly broken when the project migrated to Next.JS.This PR is composed of two commits:
logo-studio.svgwas not loading, even when running without aBASE_URL- see below)basePathNext.JS config option as documented within the official doc.Related issue(s)
Related to #249
logo-studio.svg not loading due to nginx file permissions
PR test
I built locally the image and deployed it on our k8s environment with
BASE_URL=/tools/asyncapi-studio/cc @fgreinacher
🛠️ with ❤️ by Siemens