Skip to content

Commit

Permalink
add firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
xckevin committed May 14, 2024
1 parent 4e22cbf commit 81e2e16
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@
<script src="./dist/jsoneditor.min.js"></script>
<script src="./dist/FileSaver.min.js"></script>
<script src="./dist/setting.min.js"></script>
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/10.12.0/firebase-app.js";

// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyAJO7qH_4Ab_ythnfiy-9-c24D8jvWIFA4",
authDomain: "json-viewer-editor.firebaseapp.com",
projectId: "json-viewer-editor",
storageBucket: "json-viewer-editor.appspot.com",
messagingSenderId: "491718846382",
appId: "1:491718846382:web:69b4ae17b5117f1d300a3f"
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
</script>

</body>
</html>

0 comments on commit 81e2e16

Please sign in to comment.