Cors: more finegrained allowlist, make it simpler

This commit is contained in:
Igor Katson 2023-12-17 10:25:56 +00:00
parent 98ce0408f7
commit 55f3b23eed
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
7 changed files with 19 additions and 40 deletions

View file

@ -19,9 +19,7 @@ export const TorrentsList = (props: {
<p className="text-center">No existing torrents found.</p>
) : (
props.torrents.map((t: TorrentId) => (
<>
<Torrent id={t.id} key={t.id} torrent={t} />
</>
<Torrent id={t.id} key={t.id} torrent={t} />
))
)}
</div>