Search Unity

Console error on Safari

Discussion in 'Project Tiny' started by developer_plus_bliss, Apr 17, 2019.

  1. developer_plus_bliss

    developer_plus_bliss

    Joined:
    Jan 10, 2017
    Posts:
    7
    When I run the html5 file on Safari it gives me that error: (Just on Safari)

    Not allowed to load local resource: file:///favicon.ico

    Maybe I missed something but I don't know how to fix it.
     
  2. reallyhexln

    reallyhexln

    Joined:
    Jun 18, 2018
    Posts:
    69
    It's not a Tiny issue, it's a default browser behavior.
    The browser always trying to find website icon in the root directory where index.html placed.
    This icon must have name favicon.ico.
    So, you can easy resolve such issue placing icon favicon.ico near the index.html file.
    And of course that has meaning for release version only.