Closed Rowadz closed 4 months ago
Something that might be interesting is that when running npm run compile:middleware
, the complied middleware doesn't match what's being installed in version 2.0.0
, only one await is being used.
related #372 and #375
Hello, thank you for this project it's impressive :)
Tried to use it out of curiosity and I noticed an issue with the HTML file that gets generated from src/middleware/render-voyager-page.ts.
The issue is that it's using await which breaks the browser:
We shouldn't be using await, so I changed the file to include this:
I tested this locally with Hapi, following this
Thanks!