Skip to contents

Add the app favicon to the app by inserting HTML tags into the app's <head>.

Usage

app_favicon(path = app_sys("favicon.ico"))

Arguments

path

The path to the favicon file. See details for more information on how to set this path. Default is www/images/favicons/favicon.ico, which is specific to this package.

Value

<head> with necessary favicon declaration

Details

The path to the favicon file should utilize the pre-configured resourcePath, i.e. "www/*", to ensure the favicon is accessible to the app.

The www prefixed path is instantiated in the app_assets() function which gets called in the <head> of the main app_ui() function.