How can you define the root folder for Lsp in a project?
Are you using lsp-mode?
If so, it's set by lsp-mode, as the workspace
You can remove/re-add with lsp-workspqce-folders-remove
and then lsp
Then lsp-mode will ask what is the project root
Also, double check if you have lsp-auto-guess-root disabled