kopia lustrzana https://github.com/cloudflare/wildebeest
Merge pull request #22 from cloudflare/sven/remove-instance-cache
remove caching from /api/v1/instancepull/27/head
commit
194b4f626e
|
@ -35,7 +35,6 @@ describe('Mastodon APIs', () => {
|
|||
assert.equal(res.status, 200)
|
||||
assertCORS(res)
|
||||
assertJSON(res)
|
||||
assertCache(res, 180)
|
||||
|
||||
{
|
||||
const data = await res.json<any>()
|
||||
|
|
|
@ -12,7 +12,6 @@ export async function handleRequest(domain: string, db: D1Database) {
|
|||
'Access-Control-Allow-Origin': '*',
|
||||
'Access-Control-Allow-Headers': 'content-type, authorization',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
'cache-control': 'max-age=180, public',
|
||||
}
|
||||
|
||||
const query = `
|
||||
|
|
Ładowanie…
Reference in New Issue