Iframe: Unsupported root path:


I was running a test today with a chat client that needs to be in an iframe. Its a local file called chat.html that we are trying to pull in via an iframe but we are getting this error message

FORBIDDEN Unsupported root path: [path to the file]

It works in web-view but on device it throws this error, thoughts?

That error is probably coming from the app’s built-in web server not recognizing the first element in the path.

Currently only two roots are supported: /forge for runtime-specific content and /src for your app files.

Try prepending the path to the file with /src - e.g. /src/chat.html