#NEWLINE# def _handle_get_local( handler , path_match , data ) : #NEWLINE# #INDENT# 'Return a static file from the hass.config.path/www for the frontend.' #NEWLINE# req_file = util . sanitize_path ( path_match . group ( 'file' ) ) #NEWLINE# path = handler . server . hass . config . path ( 'www' , req_file ) #NEWLINE# handler . write_file ( path )