Closed oprince closed 7 years ago
What value of httpAdminRoot and httpNodeRoot are you passing in your settings to the runtime?
httpNodeRoot: '/api', httpAdminRoot: '/red'
The the URL that 404s, it looks like a /
is missing between api
and http-api
.
Try adding a trailing slash to these config properties:
httpNodeRoot: '/api/',
httpAdminRoot: '/red/'
This is something that red.js
does which, as you're embedding, you're not benefiting from.
Thanks !! This solves the problem !
We are running NR in Embedded architecture Swagger UI does not load in NR editor. The following error is printed to the Browser console:
GET http://localhost:1881/apihttp-api/swagger.json 404 (Not Found) Unable to load SwaggerUI
Please suggest how to solve that Thanks!