Closed mmulich closed 5 years ago
@brittweinstein , I'm unable to attach this to openstax/cnx#401. I'd guess it's because webview is in some other ZenHub group or something of that nature?
@pumazi this is odd! I'm not sure what is causing that problem. In any case, I'll move this to the In Progress/Code Review pipeline so that we can keep eyes on it. (I'll also put the milestone info)
@pumazi Yeah, webview would need to be added to the ~CNX~ Content Engineering Zenhub workspace in order to attach this to an issue there. cc: @brittweinstein
Update: Just noticed it has been added (probably by @brittweinstein?). Attached it to 401.
This PR landed in v0.51.0 :tada:
We are setting the
data-bypass
attribute on the anchor to allow the default behavior to proceed. This passes the requested link to the browser rather than having the javascript capture it for internal requesting of new content.We make the browser do a request of these URLs so that it contacts the webserver (nginx) to do redirects of REX books (aka all openstax books).
This is associated with openstax/cnx#401