D
D
Dimon Durak2015-10-20 14:11:15
Node.js
Dimon Durak, 2015-10-20 14:11:15

How to correctly set the response header in IAS?

As I understand it : for cross-domain requests, you need to set a special header for the http response. Access-Control-Allow-Origin
How to do this in Impress?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Shemsedinov, 2015-10-20
@dimon_durak

To do this, you do not need to write code, you can use it in the application configs, i.e. in /applications/appName/config/application.js set the parameter allowOrigin: '*' or write a domain or a mask of domains instead of a star.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question