Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit 3b93b21

Browse files
authored
📄 docs: mention that if you rename createSapperAndApolloServer in src/server.ts that you also have to rename it in /index.js
closes #13
1 parent f3ef71e commit 3b93b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ This project base comes with [source maps](https://blog.teamtreehouse.com/introd
143143
apolloServer.applyMiddleware({ app, path: graphqlPath });
144144
```
145145

146-
2. Remove the now-useless `graphqlPath` parameter to `createSapperAndApolloServer` in `src/server.ts`. This is also a good opportunity to rename the function since there is no longer an Apollo Server
146+
2. Remove the now-useless `graphqlPath` parameter to `createSapperAndApolloServer` in `src/server.ts`. This is also a good opportunity to rename the function since there is no longer an Apollo Server; if you do rename it, then also update the reference in `/index.js` or your Cloud Functions will still be referring to the old (now non-existent) function
147147

148148
3. Delete the `src/graphql` folder
149149

0 commit comments

Comments
 (0)