console . log ( "Custom-sw!" ) ; self . addEventListener ( 'fetch' , e => { console . log ( e . request . url ) ; if ( e . request . url . indexOf ( 'auth' ) > - 1 ) { console . log ( 'Fetching auth' ) ; return fetch ( e . request ) ; } } ) ;