File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/dashboard-backend/src/devworkspaceClient Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ function buildCustomResource(options?: { openVSXURL?: string }): CheClusterCusto
224
224
secondsOfRunBeforeIdling : - 1 ,
225
225
maxNumberOfRunningWorkspacesPerCluster : 100 ,
226
226
storage : { pvcStrategy : 'per-user' } ,
227
- allowedSource : {
227
+ allowedSourced : {
228
228
urls : [ 'https://github.com' ] ,
229
229
} ,
230
230
} ,
Original file line number Diff line number Diff line change @@ -230,6 +230,6 @@ export class ServerConfigApiService implements IServerConfigApi {
230
230
}
231
231
232
232
getAllowedSourceUrls ( cheCustomResource : CheClusterCustomResource ) : string [ ] {
233
- return cheCustomResource . spec . devEnvironments ?. allowedSource ?. urls || [ ] ;
233
+ return cheCustomResource . spec . devEnvironments ?. allowedSourced ?. urls || [ ] ;
234
234
}
235
235
}
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export type CheClusterCustomResourceSpecDevEnvironments = {
178
178
maxNumberOfRunningWorkspacesPerUser ?: number ;
179
179
maxNumberOfRunningWorkspacesPerCluster ?: number ;
180
180
maxNumberOfWorkspacesPerUser ?: number ;
181
- allowedSource ?: {
181
+ allowedSourced ?: {
182
182
urls ?: string [ ] ;
183
183
} ;
184
184
} ;
You can’t perform that action at this time.
0 commit comments