Below code is used for initializing the firebase, which is visible to every one by inspecting the element in browser. There is a chance that people would misuse my firebase database. Is there any way to make config file invisible to public, so that even when they inspect element in browser, the code would not be visible. I have followed some of the posts regarding the same question on stack overflow, but I could not get a solution.
Below is the code snippet of config file:
var config = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: ""
};
firebase.initializeApp(config);