Files upload to a Git ignored directory within the project.

This commit is contained in:
Jayden Seric 2017-08-21 13:15:21 +10:00
parent e7965dda4a
commit 8058f88ad1
4 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,5 +1,3 @@
node_modules
*.log
.env
.DS_Store
db.json

3
api/.gitignore vendored
View File

@ -1 +1,4 @@
/dist
/uploads
db.json
.env

View File

@ -25,7 +25,7 @@ app
// GraphQL API
router.post(
'/graphql',
apolloUploadKoa({ uploadDir: '/tmp/apollo-upload-examples' }),
apolloUploadKoa({ uploadDir: './uploads' }),
graphqlKoa({ schema })
)

1
app/.gitignore vendored
View File

@ -1 +1,2 @@
.next
.env