Skip to content

Instantly share code, notes, and snippets.

@zaim
Last active August 20, 2016 14:51
Show Gist options
  • Save zaim/3a6a687c2eaee63bd9590b384ff9c9a9 to your computer and use it in GitHub Desktop.
Save zaim/3a6a687c2eaee63bd9590b384ff9c9a9 to your computer and use it in GitHub Desktop.
module.exports = function runHook (hook) {
const firebase = require('firebase')
hook.res.setHeader('Content-Type', 'application/json')
hook.res.end(JSON.stringify({
version: firebase.SDK_VERSION
}))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment