Problem when mounting app on another app
MBehtemam opened this issue · 2 comments
MBehtemam commented
Hi, i have two app App1
and App2
. App1
is my startup application . App2
have some handlebars view. but when i mount App2 on App1 with koa-mount middleware these problem happen :
-
When start the application and try to load project in error i get this error :
Error: ENOENT, open 'g:\NAP\Client\Applications\AutenticationUI\views\index.hbs'
-
If i create index.hbs and mount on
App1
I see index.hbs on localhost:3000 but cant see other route and say not found
jwilm commented
Were you able to resolve this? Could you provide some code that reproduces the problem? Thanks!
MBehtemam commented
I cant to resolve this problem and, now im using koa-static but im try to find the problem and create a sample of this problem and send it.
thanks