Files placed in public - Documents directory in web server does not show in browser #233
-
I exported the project using yarn export and published them on my web server. I placed some files in Documents directory under users public. Nothing shows up when I navigate in file explorer in web browser. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
It requires running the build to update the JSON file. You can also just run |
Beta Was this translation helpful? Give feedback.
-
That works. Thank you Dustin. Great project. I love daedalOS Another question. How do I change the default wallpaper with my own wallpaper jpg. Use my wallpaper when the OS loads. |
Beta Was this translation helpful? Give feedback.
-
Glad it worked! To store the wallpaper setting you would also need to update the default session.json to have the wallpaper settings you want. Ex: {
"wallpaperFit": "fill",
"wallpaperImage": "/Users/Public/Pictures/Dustin/My Eye.jpg",
} |
Beta Was this translation helpful? Give feedback.
-
This works. Thank you Sir! |
Beta Was this translation helpful? Give feedback.
It requires running the build to update the JSON file.
You can also just run
yarn build:fs
, after updating files inpublic
. Also, the folder you are showing is/Users/Public
, which is actually in the real file system atpublic/Users/Public
. It's a bit confusing but Next.js uses the same wording.