Config file - config.js

In your Firebase dashboard, https://console.firebase.google.com/ go to the “project settings/general”, copy a firebase config, and store it in /api/conf.d/config.js

 

Optionally, go to the https://app.ipworld.info/ and generate ipworld_api_key, add the following lines with your ipworld_api_key to /api/conf.d/config.js :

window.no_check_mail_auth = window.no_check_mail_auth || false; window.no_check_local_addresses = window.no_check_local_addresses || false; window.ipworld_api_key = 'ipworld_api_key';

Here is an example of a config.js:

const firebaseConfig = { apiKey: "AIzaSyA7qxoxlh85yV-NotUMzBnVtm4OruMVq6Y", authDomain: "testfb-15070.firebaseapp.com", projectId: "testfb-15070", storageBucket: "testfb-15070.appspot.com", messagingSenderId: "764840511", appId: "1:764840511:web:feb0fe8d93c4205bd7068a" }; window.no_check_mail_auth = window.no_check_mail_auth || false; window.no_check_local_addresses = window.no_check_local_addresses || false; window.ipworld_api_key = '8c835497858d45029599768e028939ce';