refatoring image upload error

This commit is contained in:
2025-03-24 13:38:35 -06:00
parent 408246be7f
commit 32e77d5f4f
6 changed files with 13 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ Development command: `dotnet watch --project Management.Web/`
### Enable Image Support
You must set the `ENABLE_FILE_SYNC` environment variable to true. Images need to be available in the `/app/public/` directory in the container so that nextjs will serve them as static files. Images can also be set to public URL's on the web.
You must set the `NEXT_PUBLIC_ENABLE_FILE_SYNC` environment variable to true. Images need to be available in the `/app/public/` directory in the container so that nextjs will serve them as static files. Images can also be set to public URL's on the web.
When an image is detected by canvas manager, it will upload the image to the canvas course and keep a lookup table of the original path/url of the image to the canvas course URL.