ctfguide-tech / CTFGuideNext

The new in-development client for CTFGuide built with Next.js.
https://ctfguide.com
Other
9 stars 8 forks source link

Terminal iframe not being loaded from same domain #8

Closed Laphatize closed 1 year ago

Laphatize commented 1 year ago

If we want to allow streaming of terminal data and we're relying on input from the browser itself - I need to be able to run some javascript on the iframe.

Since the domain of the iframe is terminal.ctfguide.com - it will not allow me to control it. However, if it was something like ctfguide.com/terminal - I would be able to control it.

I am labelling this as enhancement for now because cloud support won't be introduced until late summer.

raymond-design commented 1 year ago

Fixed