Skip to content

Commit 6b06b11

Browse files
committed
Merge branch 'main' of github.cum:arkstack-hq/arkstack
2 parents 822eb47 + 47a014a commit 6b06b11

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

templates/express/src/config/filesystem.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ export default (): FilesystemConfig => {
4747
url: env('AWS_URL'),
4848
endpoint: env('AWS_ENDPOINT'),
4949
visibility: 'public',
50+
},
51+
gcs: {
52+
driver: 'gcs',
53+
projectId: env('GOOGLE_CLOUD_PROJECT'),
54+
keyFilename: env('GOOGLE_APPLICATION_CREDENTIALS'),
55+
bucket: env('GOOGLE_CLOUD_STORAGE_BUCKET'),
56+
visibility: 'private',
57+
usingUniformAcl: true,
5058
}
5159
},
5260

@@ -76,4 +84,4 @@ export default (): FilesystemConfig => {
7684
* },
7785
*/
7886
}
79-
}
87+
}

templates/h3/src/config/filesystem.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ export default (): FilesystemConfig => {
4747
url: env('AWS_URL'),
4848
endpoint: env('AWS_ENDPOINT'),
4949
visibility: 'public',
50+
},
51+
gcs: {
52+
driver: 'gcs',
53+
projectId: env('GOOGLE_CLOUD_PROJECT'),
54+
keyFilename: env('GOOGLE_APPLICATION_CREDENTIALS'),
55+
bucket: env('GOOGLE_CLOUD_STORAGE_BUCKET'),
56+
visibility: 'private',
57+
usingUniformAcl: true,
5058
}
5159
},
5260

@@ -76,4 +84,4 @@ export default (): FilesystemConfig => {
7684
* },
7785
*/
7886
}
79-
}
87+
}

0 commit comments

Comments
 (0)