File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 6
6
"engines" : {
7
7
"node" : " >=10.0.0"
8
8
},
9
- "version" : " 0.7.0 " ,
9
+ "version" : " 0.7.2 " ,
10
10
"license" : " MIT" ,
11
11
"homepage" : " https://github.com/blinkkcode/fileset/" ,
12
12
"repository" : {
Original file line number Diff line number Diff line change @@ -186,7 +186,14 @@ export class Manifest {
186
186
this . site === 'default'
187
187
? `https://${ branchToken } ${ hostnameSuffix } `
188
188
: `https://${ this . site } -${ branchToken } ${ hostnameSuffix } ` ;
189
- const dashboardLink = `https://${ hostnameSuffix } /fileset/sites/${ this . site } /${ this . shortSha } ` ;
189
+ let dashboardDomain = hostnameSuffix ;
190
+ dashboardDomain = dashboardDomain . startsWith ( '-dot-' )
191
+ ? dashboardDomain . slice ( 5 )
192
+ : dashboardDomain ;
193
+ dashboardDomain = dashboardDomain . startsWith ( '.' )
194
+ ? dashboardDomain . slice ( 1 )
195
+ : dashboardDomain ;
196
+ const dashboardLink = `https://${ dashboardDomain } /fileset/sites/${ this . site } /${ this . shortSha } ` ;
190
197
return {
191
198
stagingLink : stagingLink ,
192
199
buildLink : buildLink ,
You can’t perform that action at this time.
0 commit comments