-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat(origin): set to optional #18
Conversation
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.
Hey @TartanLeGrand, thanks a lot for the contribution! Left some comments, pls take a look when you have time!
There is still some formatting issue during the build, @TartanLeGrand could you please run |
It's good |
@manchenkoff but the build still broken because you have an error on your main branch. The types are not resolve. |
Hey @TartanLeGrand, it's not in main branch, here is the latest build. Build here is complaining about your changes with |
@TartanLeGrand yes, the build I shared with you was executed on |
I assume it's because of the line 57 in |
@TartanLeGrand thanks again 👍 merged and published as v0.0.16 |
Overview 🌐
This PR introduces a significant enhancement to our Nuxt project by making the configuration of the origin property optional. This change leverages the capabilities of Nuxt's useRequestUrl from the Nuxt Documentation to dynamically determine the origin URL. This update aims to streamline configuration and improve the flexibility of our application.
Changes 🛠️
Optional Origin Configuration: The origin configuration in our Nuxt setup has been modified to be optional. This change is intended to reduce the manual setup required and make our application more adaptive to different environments.
Dynamic Origin Retrieval: Integrated Nuxt's useRequestUrl to automatically fetch the origin URL. This approach ensures that our application can dynamically adjust to the environment it is running in, whether in development, staging, or production.
Implementation Details 📝
How to Test 🧪
Benefits ✨
Request for Comments 🗣️
I encourage the team to review these changes and provide feedback. Any suggestions for further improvements or concerns are highly welcomed. Let's discuss how we can make this integration as smooth and beneficial as possible!