Created
April 6, 2017 18:28
-
-
Save mbleigh/607521bd0615fcaebdeeb7f3fe0f0331 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="/__/firebase/3.7.4/firebase-app.js"></script> | |
<script src="/__/firebase/init.js"></script> | |
<script> | |
function funcURL(fnName) { | |
let projectIdIsh = firebase.app().options.authDomain.split('.')[0]; | |
return `https://us-central1-${projectIdIsh}.cloudfunctions.net/${fnName}`; | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment