R
R
Roman Kalita2016-10-20 00:19:45
In contact with
Roman Kalita, 2016-10-20 00:19:45

How to use VKontakte widgets when running a site on localhost:8080?

I'm trying to install a VKontakte widget on html. When I start the local server, I turn to localhost: 8080 in the address bar and the widget is not displayed, it swears that this is a cross-domain request and suggests using the trusted domains that I specified in the VK application. But when I try to set localhost:8080 as a trusted domain, it cuts it off and leaves only localhost.
How can you run your application-site on a local server and make the widgets work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Денис Николас, 2016-10-20
@Engeneer

Оставить в доверенных localhost и 127.0.0.1.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question