Closed ssamal2801 closed 5 months ago
Hi @ssamal2801,
Thanks for showing an interest in contributing.
Most of the users might not need this change in their apps. If someone does this, the app will not work at http://localhost:3000 URL.
Thus, we are not considering merging this PR.
The issue you were facing was that when you were changing the base URL in the Next.js config file in step one of your issue description, you were changing the root directory of the project.
For this reason, the images are now available at "/apps/materio/images...." instead of "/images...".
I have corrected the image url and both the next.js config files.
Now your served files should work as expected with images. You do not need to change the base route every time you switch between local or remote NGINX servers. You can access them both at the same base route:
Example: