Answer the question
In order to leave comments, you need to log in
Vkontakte application. Page not loading in Iframe when using Laravel 4.1?
Good day to all!
I haven't been able to find a solution to my problem for several days now. It is as follows:
There is a server with a signed certificate. I want to make an application for VKontakte through Iframe. If I create a page on the Laravel 4.1 framework, then the Iframe is empty. If I just put index.html in the root of the host, then the page is loaded. I don’t know where to dig anymore ... Maybe someone has come across a similar one? Stuck at the beginning...
Answer the question
In order to leave comments, you need to log in
Answer found! It turns out that the framework sends the header
What prevents the site from opening in the frames of other sites except its own.
what should be done?
Add to bootstrap/start.php
$app->forgetMiddleware('Illuminate\Http\FrameGuard');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question