CORS Error with updateRow

The API endpoint updateRow does not work

what happens

the api responds with duplicate headers, that is leads to errors an should not happen. These headers are sent twice for the updateRow call:


howto reproduce

you can reproduce it with the api reference demo tool. The query will not be completed because of the Access-Control-Allow-Origin, you’ll see it in the developer console


simple. Just comment out the three header lines in /opt/seatable/seatable-server-4.1.9/dtable-server/dist/src/middleware/cors.js because those headers exist already.