I created a project with reactJS and firebase and saved the project to GitHub repository. And I imported the project with GitHub and created a domain with netlify.
And I want to make the firebase database URL not public through GitHub. However, if you make the project files invisible with gitignore, netlify will have problems. Also, if you set the rules as ".read": false, ".write": false, netlify gives an error.
So I don't know how to prevent the firebase database URL from leaking through the GitHub repository and not causing problems with netlify.