Closed MarshyMelloow closed 1 month ago
just missing documentation more than anything. If you are using a domain to host the webstite, you need to modify the next config in /apps/client/next.config.mjs
, and add your domain name to images.domains
Thank You! I will make sure to add this to the documentation.
Resolved in https://github.com/SnailyCAD/snaily-cadv4/commit/25ffdb8123cbbc974e1579af3156c88378e43694
Please check the new format (images.remotePatterns
) in apps/client/next.config.mjs
What version of Node.js are you using?
18.20.2
What operating system are you using?
Ubuntu 22.04
What version of SnailyCAD are you currently using?
1.79.1
Describe the Bug
When loading a citizens profile that has a image uploaded the image never loads. The following appears in the browser console: "Failed to load resource: the server responded with a status of 400 (Bad Request)"
When Following the link:
""url" parameter is not allowed"
We also get the following in the SnailyCAD Console:
Expected Behavior
There should be no errors and images should load
Example:![image](https://github.com/SnailyCAD/snaily-cadv4/assets/76271349/6ecce00c-5bac-481d-bc63-ce26e98e2317)
To Reproduce
Spin up a fresh install of SnailyCAD, and try to upload a picture.