This block here seems wrong. It is doing the same thing in both cases.
|
# create tag for favicon, if present |
|
# other_files_map[names(other_files_map) %in% "/favicon.ico"] |
|
if ("/favicon.ico" %in% names(private$asset_map$other)) { |
|
favicon_url <- sprintf('\"%s_favicon.ico\"', self$config$requests_pathname_prefix) |
|
favicon <- sprintf("<link href=%s rel=\"icon\" type=\"image/x-icon\">", favicon_url) |
|
} else { |
|
favicon_url <- sprintf('\"%s_favicon.ico\"', self$config$requests_pathname_prefix) |
|
favicon <- sprintf("<link href=%s rel=\"icon\" type=\"image/x-icon\">", favicon_url) |
|
} |
This block here seems wrong. It is doing the same thing in both cases.
dashR/R/dash.R
Lines 1897 to 1905 in d281e70