Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timestap problem with firebase plugin #2

Open
cundamic opened this issue May 21, 2017 · 1 comment
Open

timestap problem with firebase plugin #2

cundamic opened this issue May 21, 2017 · 1 comment

Comments

@cundamic
Copy link

<script src="https://www.gstatic.com/firebasejs/4.0.0/firebase.js"></script> <script src="https://get.mavo.io/mavo.js"></script> <script> // Initialize Firebase var config = { apiKey: "", authDomain: "", databaseURL: "", projectId: "", storageBucket: "", messagingSenderId: "" }; firebase.initializeApp(config); var dbRef=firebase.database().ref(); dbRef.on('value', snap=>console.log(snap.val())); </script>
  • Code Name

mv-storage="local" is OK.
mv-storage="firebase" don`t work.

GET http://localhost:3000/firebase?timestamp=1495400338364 404 (Not Found)
Object {macka: "macicka", pes: "slon"} // manual setting on firebase

@lizziew
Copy link
Owner

lizziew commented May 31, 2017

I think the 404 error is because your GET request should be in the format http://localhost:3000/**yourfile.html**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants