@Amrita-Sukumar said in Can you use Nodebb for Building a Help Section?:
@scottalanmiller Gotcha!! thank you
No problem!
Will be fixed here: https://github.com/NodeBB/NodeBB/issues/1616
In the meantime you can just delete this line
Thanks ! Maybe we should update that issue to be able to set the "ALLOW-FROM" uri instead
I'm still having a problem getting this to load in an iframe. I have an app running on localhost:80 that I need to embed my NodeBB into.
In the meantime you can just delete this line
I'm assuming you tried the new setting in the ACP, but have you tried the original solution, did it work?
@mwilliams77 said in How can I load NodeBB in an iframe?:
I'm still having a problem getting this to load in an iframe. I have an app running on localhost:80 that I need to embed my NodeBB into.
Yes! The iframe still doesn't load properly for me. I need to include my NodeBB into an application that is already running on localhost:80.
@fewersource said in How can I load NodeBB in an iframe?:
Yes! The iframe still doesn't load properly for me. I need to include my NodeBB into an application that is already running on localhost:80.
If you are hosting NodeBB on port 80
, then this will probably work. However, if you are using https
on port 443, which in today's climate, you should be, then it won't as you can't embed https
inside http
using an iFrame. In addition, using iFrames will subject the site to clickjacking vulnerabilities and is not recommended.