Skip to content

Commit

Permalink
Update url
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Feb 2, 2024
1 parent fce0e28 commit fbe36ac
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import { getPaths } from '@redwoodjs/project-config'

export const updateGraphqlConfig = async () => {
const res = await fetch(
'https://raw.githubusercontent.com/redwoodjs/redwood/release/major/v7.0.0/packages/create-redwood-app/templates/ts/graphql.config.js'
// TODO: Have to come back here to update the URL when we have a more
// stable location than main
// 'https://raw.githubusercontent.com/redwoodjs/redwood/release/major/v7.0.0/packages/create-redwood-app/templates/ts/graphql.config.js'
'https://raw.githubusercontent.com/redwoodjs/redwood/main/packages/create-redwood-app/templates/ts/graphql.config.js'
)
const text = await res.text()
fs.writeFileSync(path.join(getPaths().base, 'graphql.config.js'), text)
Expand Down

0 comments on commit fbe36ac

Please sign in to comment.