File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
internet_identity_frontend/src Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ pub fn get_static_assets(config: &InternetIdentityInit) -> Vec<Asset> {
9797 . related_origins
9898 . clone ( )
9999 . unwrap_or_default ( )
100+ . into_iter ( )
101+ . map ( |origin| origin. replace ( "https://" , "" ) )
102+ . collect :: < Vec < _ > > ( )
100103 . join ( "\n " )
101104 . into_bytes ( ) ,
102105 encoding : ContentEncoding :: Identity ,
Original file line number Diff line number Diff line change @@ -328,6 +328,9 @@ fn get_static_assets(config: &InternetIdentityFrontendArgs) -> Vec<AssetUtilAsse
328328 . related_origins
329329 . clone ( )
330330 . unwrap_or_default ( )
331+ . into_iter ( )
332+ . map ( |origin| origin. replace ( "https://" , "" ) )
333+ . collect :: < Vec < _ > > ( )
331334 . join ( "\n " )
332335 . into_bytes ( ) ,
333336 encoding : ContentEncoding :: Identity ,
You can’t perform that action at this time.
0 commit comments