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
|
node_modules
|
||||||
*.log
|
*.log
|
||||||
.env
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
db.json
|
|
||||||
|
|||||||
3
api/.gitignore
vendored
3
api/.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
/dist
|
/dist
|
||||||
|
/uploads
|
||||||
|
db.json
|
||||||
|
.env
|
||||||
|
|||||||
@ -25,7 +25,7 @@ app
|
|||||||
// GraphQL API
|
// GraphQL API
|
||||||
router.post(
|
router.post(
|
||||||
'/graphql',
|
'/graphql',
|
||||||
apolloUploadKoa({ uploadDir: '/tmp/apollo-upload-examples' }),
|
apolloUploadKoa({ uploadDir: './uploads' }),
|
||||||
graphqlKoa({ schema })
|
graphqlKoa({ schema })
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
1
app/.gitignore
vendored
1
app/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
.next
|
.next
|
||||||
|
.env
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user