Files
vercel/examples/redwoodjs/graphql.config.js
Steven 3e18146846 [frameworks][examples] Update RedwoodJS to 0.25.0 (#5842)
RedwoodJS [v0.25.0](https://github.com/redwoodjs/redwood/releases/tag/v0.25.0) changed to a different build command: [yarn rw deploy vercel](https://redwoodjs.com/docs/cli-commands#vercel)

This also updates the example to use the latest template from `created-redwood-app`.
2021-02-17 16:02:53 -05:00

8 lines
169 B
JavaScript

const { getConfig } = require('@redwoodjs/internal')
const config = getConfig()
module.exports = {
schema: `http://${config.api.host}:${config.api.port}/graphql`,
}