diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts index f81190f..9de531f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -175,7 +175,6 @@ app.get('/auctionprices', async (req, res) => { }) try { res - .setHeader('Cache-Control', 'public, max-age=600') .json( itemIds ? await fetchItemsAuctions(itemIds) : await fetchPaginatedItemsAuctions(0, 100) ) @@ -188,7 +187,6 @@ app.get('/auctionprices', async (req, res) => { app.get('/auctionitems', async (req, res) => { try { res - .setHeader('Cache-Control', 'public, max-age=600') .json(await fetchAuctionItems()) } catch (err) { console.error(err) |