HTTPError: not allowed - invalid origin

Hi ,
today we are get an error from api/v0/add
not allowed - invalid origin
Our code is

const ipfs = create({
    host: 'ipfs.infura.io',
    port: 5001,
    protocol: 'https',
    headers: {
        authorization: ipfsath,
        'Access-Control-Allow-Origin': ['*'],
        Origin: `${dedicatedIPFS}`,
        'User-Agent': 'foo'
    }
});

Whats wrong ?
We have add the url in ALLOWED HTTP ORIGINS

Hey @Adamus, please check out this example: How to add files using ipfs-http-client