B
B
Bd22902019-12-02 00:09:34
CORS
Bd2290, 2019-12-02 00:09:34

Problem with CORS, what to do?

Good day. The problem with the cortex is the following.
The file is on the hard drive, a.k.a on the server, in a folder, even in the project directory wwwroot. This is a playlist.
In the background, this file is created, accordingly, he sees and knows it, and there are no problems with this, but this file must be given to the view, not even the file, but its path, and slip it into the sources for the player.
The player is naturally on js. and zhs of course does not want to open a link to the file. because it still has a kind of raw file-api, and it's not entirely safe to give the path to the local file.
Tell me how to be?5de42c0ac77be222008930.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dollar, 2019-12-02
@dollar

Host the file so that it is accessible via http(s) : // localhost ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question