When passing a query param or string of query params Enduro can't find the generated files:
Error: ENOENT: no such file or directory, stat '/var/www/node/endurosite/_generated/something?cmp=someparam/index.html'
This could be fixed by modifying :
/libs/enduro_server/enduro_server.js
Before Line 120:
let a = requested_url.split('/').filter(x => x.length)
a line could be added:
requested_url = requested_url.split('?')[0]
That would prevent the error.
When passing a query param or string of query params Enduro can't find the generated files:
Error: ENOENT: no such file or directory, stat '/var/www/node/endurosite/_generated/something?cmp=someparam/index.html'
This could be fixed by modifying : /libs/enduro_server/enduro_server.js Before Line 120:
let a = requested_url.split('/').filter(x => x.length)
a line could be added:requested_url = requested_url.split('?')[0]
That would prevent the error.