`\r\neven though this works in local and builds in local envn, it fails when i deploy to production using Digital Ocean. \r\nI'm I missing something?\r\n\r\nI am not using nuxtImage because there was too many issues with it even on local.\n\n### Describe the bug\n\nImage src with images in public folder fails in production build (Digital Ocean). \r\n\r\n`\u003Cimg src=\"/img/bee.png\" alt=\"\" />`\r\neven though this works in local and builds in local envn, it fails when i deploy to production using Digital Ocean. \r\nI'm I missing something?\r\n\r\nI am not using nuxtImage because there was too many issues with it even on local.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[1984,1987],{"name":1985,"color":1986},"3.x","29bc7f",{"name":1988,"color":1989},"pending triage","E99695",26037,"nuxt","closed","Image src fails in production build","2024-03-01T22:29:30Z","https://github.com/nuxt/nuxt/issues/26037",0.6124724,{"description":1998,"labels":1999,"number":2002,"owner":1991,"repository":1991,"state":1992,"title":2003,"updated_at":2004,"url":2005,"score":2006},"### Environment\n\nnuxt 3.5.3\n\n### Reproduction\n\nWhen Nuxt3 is developing, the images stored under public can be accessed normally, but when the bulid package is built and deployed, the newly added pictures in the production environment cannot be found, but the image has been saved under public, and you can click to see it in VSCODE, but the webpage reports an error\r\n\r\n\r\n\r\n\n\n### Describe the bug\n\nWhen Nuxt3 is developing, the images stored under public can be accessed normally, but when the bulid package is built and deployed, the newly added pictures in the production environment cannot be found, but the image has been saved under public, and you can click to see it in VSCODE, but the webpage reports an error\r\n\r\n\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\nWhen Nuxt3 is developing, the images stored under public can be accessed normally, but when the bulid package is built and deployed, the newly added pictures in the production environment cannot be found, but the image has been saved under public, and you can click to see it in VSCODE, but the webpage reports an error\n```\n",[2000,2001],{"name":1985,"color":1986},{"name":1988,"color":1989},21688,"When Nuxt3 is developing, the images stored under public can be accessed normally, but when the bulid package is built and deployed, the newly added pictures in the production environment cannot be found, but the image has been saved under public, and you can click to see it in VSCODE, but the webpage reports an error","2023-06-22T01:43:39Z","https://github.com/nuxt/nuxt/issues/21688",0.6368314,{"labels":2008,"number":2019,"owner":1991,"repository":1991,"state":1992,"title":2020,"updated_at":2021,"url":2022,"score":2023},[2009,2010,2013,2016],{"name":1985,"color":1986},{"name":2011,"color":2012},"bug","d73a4a",{"name":2014,"color":2015},"vite","3574D1",{"name":2017,"color":2018},"upstream","E8A36D",12892,"Generated image urls for files in the public directory result in 404's when running the built server.","2023-01-19T16:50:13Z","https://github.com/nuxt/nuxt/issues/12892",0.6400834,{"labels":2025,"number":2026,"owner":1991,"repository":1991,"state":1992,"title":2020,"updated_at":2027,"url":2028,"score":2029},[],12963,"2023-01-19T16:43:31Z","https://github.com/nuxt/nuxt/issues/12963",0.6405762,{"labels":2031,"number":2032,"owner":1991,"repository":1991,"state":1992,"title":2020,"updated_at":2033,"url":2034,"score":2029},[],13021,"2023-01-19T16:43:32Z","https://github.com/nuxt/nuxt/issues/13021",{"labels":2036,"number":2039,"owner":1991,"repository":1991,"state":1992,"title":2040,"updated_at":2041,"url":2042,"score":2043},[2037,2038],{"name":1985,"color":1986},{"name":1988,"color":1989},13287,"Image assets are not processed properly when build","2023-01-19T16:51:30Z","https://github.com/nuxt/nuxt/issues/13287",0.6419949,{"description":2045,"labels":2046,"number":2052,"owner":1991,"repository":1991,"state":1992,"title":2053,"updated_at":2054,"url":2055,"score":2056},"### Environment\n\nnuxt 3.5.3\n\n### Reproduction\n\nWhen Nuxt3 is developing, the images stored under public can be accessed normally, but when the bulid package is built and deployed, the newly added pictures in the production environment cannot be found, but the image has been saved under public, and you can click to see it in VSCODE, but the webpage reports an error\r\n\r\n\r\n![Uploading image.png…]()\r\n\n\n### Describe the bug\n\nWhen Nuxt3 is developing, the images stored under public can be accessed normally, but when the bulid package is built and deployed, the newly added pictures in the production environment cannot be found, but the image has been saved under public, and you can click to see it in VSCODE, but the webpage reports an error\r\n\r\n\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\nWhen Nuxt3 is developing, the images stored under public can be accessed normally, but when the bulid package is built and deployed, the newly added pictures in the production environment cannot be found, but the image has been saved under public, and you can click to see it in VSCODE, but the webpage reports an error\n```\n",[2047,2048,2049],{"name":1985,"color":1986},{"name":1988,"color":1989},{"name":2050,"color":2051},"needs reproduction","FBCA04",21689,"public files cannot be accessed after build","2024-12-03T08:06:42Z","https://github.com/nuxt/nuxt/issues/21689",0.6433805,{"description":2058,"labels":2059,"number":2062,"owner":1991,"repository":1991,"state":1992,"title":2063,"updated_at":2064,"url":2065,"score":2066},"### Describe the feature\n\nAfter nuxt3 has npm run build to generate the .output file and successfully deployed it on the server, now I want to add a logo1.png image to the public directory. Why does the browser return 404 through the domain name xxx.com/logo1.png. Does the documentation say that the public folder will not be compiled? Why do I add images to the public file after deployment but cannot access them afterwards?\n\n### Additional information\n\n- [ ] Would you be willing to help implement this feature?\n- [ ] Could this feature be implemented as a module?\n\n### Final checks\n\n- [X] Read the [contribution guide](https://nuxt.com/docs/community/contribution).\n- [X] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[2060,2061],{"name":1985,"color":1986},{"name":1988,"color":1989},25926,"The nuxt3 public directory cannot access new resources in the production environment.","2024-04-03T11:47:36Z","https://github.com/nuxt/nuxt/issues/25926",0.6461226,{"description":2068,"labels":2069,"number":2072,"owner":1991,"repository":1991,"state":1992,"title":2073,"updated_at":2074,"url":2075,"score":2076},"### Environment\n\n- Operating System: Linux\r\n- Node Version: v20.1.0\r\n- Nuxt Version: 3.5.0\r\n- Nitro Version: 2.4.1\r\n- Package Manager: pnpm@8.5.1\r\n- Builder: vite\r\n- User Config: srcDir, devtools, app, css, router, runtimeConfig, vite\r\n- Runtime Modules: -\r\n- Build Modules: -\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-z5qg55\n\n### Describe the bug\n\nI'm using custom `srcDir` and custom `publicDir` in my project. i have this config in `nuxt.config.ts`\r\n\r\n```ts\r\nexport default defineNuxtConfig({\r\n srcDir: 'src',\r\n vite: {\r\n publicDir: '../public'\r\n }\r\n})\r\n```\r\n\r\nand this file structure\r\n```\r\npublic/\r\nsrc/\r\n--pages/\r\npackage.json\r\n... etc.\r\n```\r\n\r\nI can use the public folder while the dev server is running, but not after the build. The public folder is not included in the build process.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2070,2071],{"name":1985,"color":1986},{"name":1988,"color":1989},21030,"public directory is not included in the build when using `vite.publicDir` and `srcDir` in nuxt config","2023-05-23T14:44:54Z","https://github.com/nuxt/nuxt/issues/21030",0.6568358,{"description":2078,"labels":2079,"number":2082,"owner":1991,"repository":1991,"state":1992,"title":2083,"updated_at":2084,"url":2085,"score":2086},"### Environment\r\n\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v16.20.0\r\n- Nuxt Version: 3.5.0\r\n- Nitro Version: 2.4.1\r\n- Package Manager: pnpm@8.4.0\r\n- Builder: vite\r\n- User Config: extends\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/github/kleinpetr/nuxt-layer-assets\r\n\r\n1. `pnpm i`\r\n2. `pnpm build`\r\n3. see the error\r\n\r\n### Describe the bug\r\n\r\nWhen I use any relative path within my-layers such as `/public` assets it works for the dev, but it cannot be build.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2080,2081],{"name":1985,"color":1986},{"name":1988,"color":1989},20929,"Layers - bug with resolving /public files during build","2023-05-18T12:06:50Z","https://github.com/nuxt/nuxt/issues/20929",0.65906155,["Reactive",2088],{},["Set"],["ShallowReactive",2091],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"q_GjBtXEw8CDuQQNxqHc6m75hLY7WaVRd1Y_jG8wp_A":-1},"/nuxt/nuxt/13378"]