How to publish build results to root

hello! Im trying to get my react static spa running with custom domain. I use vite for the build and it outputs all needed files including index.html to /app/out directory. This directory is specified as publish directory. The problem is that i end up with files being in the same directory like https://mydomainname dot com/app/out/index.html and i need the contents of that publish dir to be in root folder, so i can just go to https://mydomainname.com snd just see the working app. Please help, i dont know what to do :frowning:

Ps my netlify domain name is https://vividtime.netlify.app/ and custom domain is https://vividtime.app

Hard to say without seeing your setup. The provided description doesn’t really explain much.

my netlify domain name is https://vividtime.netlify.app/ and custom domain is https://vividtime.app

what exactly do you need? I will post it here

Based on your current deploy details, it looks like you need the publish directory to be app/out/app? Simply doing that should solve the issue.

thank you very much! its no fun being so dumb in my case =(