mlooney

mlooney

Ash Framework: favicon annoyances

Users going through the book on safari, at least, get a bunch of annoying errors about favicon missing on each page load:

[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /apple-touch-icon-precomposed.png (TunezWeb.Router)
    (tunez 0.1.0) deps/phoenix/lib/phoenix/router.ex:465: TunezWeb.Router.call/2
    (tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.plug_builder_call/2
    (tunez 0.1.0) deps/plug/lib/plug/debugger.ex:155: TunezWeb.Endpoint."call (overridable 3)"/2
    (tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.call/2
    (phoenix 1.8.0-rc.3) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
    (bandit 1.7.0) lib/bandit/pipeline.ex:131: Bandit.Pipeline.call_plug!/2
    (bandit 1.7.0) lib/bandit/pipeline.ex:42: Bandit.Pipeline.run/5
    (bandit 1.7.0) lib/bandit/http1/handler.ex:13: Bandit.HTTP1.Handler.handle_data/3
    (bandit 1.7.0) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
    (bandit 1.7.0) lib/bandit/delegating_handler.ex:8: Bandit.DelegatingHandler.handle_continue/2
    (stdlib 6.2.2) gen_server.erl:2335: :gen_server.try_handle_continue/3
    (stdlib 6.2.2) gen_server.erl:2244: :gen_server.loop/7
    (stdlib 6.2.2) proc_lib.erl:329: :proc_lib.init_p_do_apply/3

[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /apple-touch-icon.png (TunezWeb.Router)
    (tunez 0.1.0) deps/phoenix/lib/phoenix/router.ex:465: TunezWeb.Router.call/2
    (tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.plug_builder_call/2
    (tunez 0.1.0) deps/plug/lib/plug/debugger.ex:155: TunezWeb.Endpoint."call (overridable 3)"/2
    (tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.call/2
    (phoenix 1.8.0-rc.3) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
    (bandit 1.7.0) lib/bandit/pipeline.ex:131: Bandit.Pipeline.call_plug!/2
    (bandit 1.7.0) lib/bandit/pipeline.ex:42: Bandit.Pipeline.run/5
    (bandit 1.7.0) lib/bandit/http1/handler.ex:13: Bandit.HTTP1.Handler.handle_data/3
    (bandit 1.7.0) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
    (bandit 1.7.0) lib/bandit/delegating_handler.ex:8: Bandit.DelegatingHandler.handle_continue/2
    (stdlib 6.2.2) gen_server.erl:2335: :gen_server.try_handle_continue/3
    (stdlib 6.2.2) gen_server.erl:2244: :gen_server.loop/7
    (stdlib 6.2.2) proc_lib.erl:329: :proc_lib.init_p_do_apply/3

While obviously not your fault, and easily fixable by the reader who knows what is going on, it might be worth the effort to add the various favicons that browsers attempt to fetch into the GitHub repo. I’m sure other browsers do the same too.

First Post!

sevenseacat

sevenseacat

Author of Ash Framework

I haven’t actually seen that at all during development, and I don’t see it in Safari now either :thinking:

Let me look into it. The favicon names look familiar, but I thought you would have to configure them in the HTML, which we’re not doing…

Where Next?

Popular Pragmatic Bookshelf topics Top

jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
JohnS
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps. With: ruby-3.0.0 s...
New
raul
Page 28: It implements io.ReaderAt on the store type. Sorry if it’s a dumb question but was the io.ReaderAt supposed to be io.ReadAt? ...
New
AleksandrKudashkin
On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
New
alanq
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
adamwoolhether
I’m not quite sure what’s going on here, but I’m unable to have to containers successfully complete the Readiness/Liveness checks. I’m im...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
dachristenson
@mfazio23 Android Studio will not accept anything I do when trying to use the Transformations class, as described on pp. 140-141. Googl...
New
roadbike
From page 13: On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
New
dachristenson
I’ve got to the end of Ch. 11, and the app runs, with all tabs displaying what they should – at first. After switching around between St...
New

Other popular topics Top

ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
New
New
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New

Sub Categories: