Longridge-High-School / net-doc

Highly opinionateable documentation
https://longridge-high-school.github.io/net-doc/
MIT License
1 stars 1 forks source link

```<iframe>``` Support #33

Open A-Paterson opened 2 months ago

A-Paterson commented 2 months ago

Currently, Net Doc breaks if embedded in an <iframe> tag, which has caused problems with the Net Doc Desktop tabs implementation and means it can't be embedded in Teams.

Arcath commented 1 week ago

Was this a CORS issue? Might be something we can fix with the nginx revese proxy we use after #42

A-Paterson commented 1 week ago

The console shows this:

Request URL: https://docs.lhs.lancs.sch.uk/app
Request Method: GET
Status Code: 403 Forbidden
Remote Address: 20.199.107.83:443
Referrer Policy: strict-origin-when-cross-origin
Request URL: https://docs.lhs.lancs.sch.uk/app/login
Request Method: POST
Status Code: 302 Found
Remote Address: 20.199.107.83:443
Referrer Policy: strict-origin-when-cross-origin

A warning has appeared next to the cookie in the response.