-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Forever 'loading' #304
Comments
Hmmm, can't reproduce this. RequireJs loads the needed libs https://github.com/apidoc/apidoc/blob/master/template/main.js |
@chrisveness did you ever solve this? I'm having the same problem It looks like it's a problem with the unsafe eval in lodash which doesn't pass the Content Security Policy of our website. It seems like lodash has versions that don't have unsafe evals. Any ideas? |
I had parked this, as it wasn't a priority for me. Checking it again now, it appears to have been fixed in the interim: where before in chrome dev tools I saw:
etc, I now see:
without the extra '.js' on the end of the filename, and everything is working fine. @brunerson, I think your problem must be a separate one. |
Ok, thanks for the response anyway @chrisveness ! |
Hello, I have the same issue I can't figure out why it stuck in infinite loop of loading .. |
having the same exact issue and behavior as @blimasouza |
I too am having the same issue/behavior as @blimasouza and @colelloa - Anyone have any ideas on how to fix this? |
Serving this up on nginx and added the below location block to get this sorted.
|
The issue is in the apidoc.json file, if you set the version to "version": "1.0.0" it will work, if the version is less than 2 digits, it will load forever. |
Using Node.js / Koa / koa-static, I am seeing a permanent 'loading' symbol when requesting the apidoc index.html.
Using chrome dev tools, I can see that some of the JavaScript resources are having an extra '.js' appended to the filename (jquery, lodash, handlebars), which results in 404's:
Any ideas what the issue might be?
The text was updated successfully, but these errors were encountered: