ms-seo icon indicating copy to clipboard operation
ms-seo copied to clipboard

Dynamically set title sometimes missing in escaped fragment

Open RacingTadpole opened this issue 10 years ago • 0 comments

Hi Manuel,

Thanks for this excellent package and the discussion on your blog. Now that you've helped me pinpoint where this issue arises, I thought it would help to post it as an issue here too.

When I set a title dynamically using the onAfterAction hook, the title shows up fine in the browser, but it does not show up in the output of curl localhost:3000/?_escaped_fragment_=.

The problem only appears when I add a waitOn function to my route. When this is removed, it works.

Here is an example: https://github.com/RacingTadpole/ms-seo-example

Thanks for your help, and apologies if I'm doing something wrong!

RacingTadpole avatar Nov 06 '14 23:11 RacingTadpole