Browse Source

Made google cloud deployments work again

master
Leo Lamprecht 8 years ago
parent
commit
ee6c78edd0
  1. 6
      src/serverless/get-handler.js

6
src/serverless/get-handler.js

@ -1,7 +1,9 @@
// @flow
const { readFileSync } = require('fs')
const { join } = require('path')
const handler = readFileSync(join(__dirname, 'handler.js')).toString()
// This needs to be relative because it otherwise
// doesn't work when `webpack`-ed
const handler = readFileSync('handler.js').toString()
// symbols to replace in the meta-source
const CMD_SYMBOL = '/*NOW_CMD*/'

Loading…
Cancel
Save