Problem
Web pages are plank when serving examples with trunk version 0.5.0.
Running trunk version 0.4.0 seams to resolve this issue.
Steps To Reproduce
Steps to reproduce the behavior:
cargo install trunk --version 0.5.0examples/game_of_life directory (I chose the game of life example, but any example should be able to reproduce the same error). trunk serve --releasehttp://127.0.0.1:8080/Expected behavior
To see the following webpage.

Actual behavior
A blank, white webpage.
Environment:
master1.46.0 stabletrunkMozilla Firefox 80.0.1Questionnaire
@seanybaggins I'll take a look right now.
@seanybaggins are you getting any terminal output from Trunk?
I can't believe it literally only took a day to break. I thought I could finally take a break from the examples :laughing:
Yes.
server running at http://127.0.0.1:8080/
build completed successfully
Looks like a regression in Trunk related to serving the index.html by default. Trunk is returning a 404. I believe I've already got the fix in place. Standby.
Yup, I put the middleware after the handler itself 鈽狅笍 ... just putting the middleware first fixes the issue. A stupid regression. Will have to add some regression tests for this in Trunk.
@seanybaggins I'll push a 0.5.1 trunk release right now.
Ok, 0.5.1 release is being built right now. I tested it on this example, and it fixes the issue. Thanks for the report @seanybaggins!
@siku2 this makes me wonder if we should setup some more in-depth regression tests in trunk to clone this repo & spawn and test builds for each of the examples. Thoughts?
@thedodd Thanks for the quick fix.
@seanybaggins ok, you should be good to go now. Let me know if you run into any other issues.
@thedodd Are you okay if the ticket closes or would you like to continue discussion with @siku2?
@seanybaggins you're good. I'll chat with Siku on discord and we can coordinate regression/example tests in the Trunk repo. Thanks!
Thanks a ton for taking care of this!