File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
packages/create-app/src/lib/utils Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -167,12 +167,12 @@ export function promptRemoteCacheProvider() {
167167 {
168168 value : 'github-actions' ,
169169 label : 'GitHub Actions' ,
170- hint : 'The easiest way to start if you store your code on GitHub'
170+ hint : 'The easiest way to start if you store your code on GitHub' ,
171171 } ,
172172 {
173173 value : 's3' ,
174174 label : 'S3' ,
175- hint : 'Work with any S3-compatible storage, including AWS S3 and Cloudflare R2'
175+ hint : 'Work with any S3-compatible storage, including AWS S3 and Cloudflare R2' ,
176176 } ,
177177 {
178178 value : null ,
@@ -195,7 +195,7 @@ export function promptRemoteCacheProviderArgs(
195195 promptText ( {
196196 message : 'GitHub Personal Access Token (PAT)' ,
197197 placeholder : 'GITHUB_TOKEN' ,
198- defaultValue : 'GITHUB_TOKEN'
198+ defaultValue : 'GITHUB_TOKEN' ,
199199 } ) ,
200200 } ) ;
201201 case 's3' :
@@ -207,6 +207,12 @@ export function promptRemoteCacheProviderArgs(
207207 message : 'Region' ,
208208 placeholder : 'us-west-1' ,
209209 } ) ,
210+ endpoint : ( ) =>
211+ promptText ( {
212+ message :
213+ 'Endpoint (Only necessary for self-hosted S3 or Cloudflare R2)' ,
214+ placeholder : 'https://<ACCOUNT_ID>.r2.cloudflarestorage.com' ,
215+ } ) ,
210216 } ) ;
211217 }
212218}
You can’t perform that action at this time.
0 commit comments