mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 22:30:02 -04:00
add firebase login and offering to the client
This commit is contained in:
parent
d1bef00d93
commit
7315350858
4 changed files with 41 additions and 70 deletions
|
@ -1,6 +1,7 @@
|
|||
import "../firebase-config";
|
||||
import { getDatabase, ref, onValue, set } from "firebase/database";
|
||||
|
||||
|
||||
const db = getDatabase();
|
||||
console.log(db);
|
||||
let reff = ref(db, "/peers/demo");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue