Files upload to a Git ignored directory within the project.
This commit is contained in:
parent
e7965dda4a
commit
8058f88ad1
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,3 @@
|
||||
node_modules
|
||||
*.log
|
||||
.env
|
||||
.DS_Store
|
||||
db.json
|
||||
|
||||
3
api/.gitignore
vendored
3
api/.gitignore
vendored
@ -1 +1,4 @@
|
||||
/dist
|
||||
/uploads
|
||||
db.json
|
||||
.env
|
||||
|
||||
@ -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
1
app/.gitignore
vendored
@ -1 +1,2 @@
|
||||
.next
|
||||
.env
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user