Where are the Mac config Files

Currently have an issue with my Mac install.

When I first installed the application I made a mistake when choosing the base folder for the app, and now I keep getting duplicate errors because I added a different path to the graphs.

my notes should be on the following path
/course/Notes
but somehow logseq keeps creating the new notes in
/course/course/Notes

and since I tried to add /course/Notes as another graph I keep getting duplicate errors.

I have a similar problem. I have logseq on 3 different devices (desktop Mac, laptop Mac, and iPad), but some of them seem to be pointing to the iCloud shared drive folder logseq, and some are putting it under logseq/logseq. How do I resolve figure out which one is wrong and fix it?

Does anyone know the answer to this: how do I change the Logseq directory?