mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-14 08:55:20 +01:00
Fixed oembed content-type
This commit is contained in:
parent
490202dcff
commit
c6a8b1a063
1 changed files with 4 additions and 1 deletions
|
@ -134,7 +134,10 @@ router.get('/owoembed', async (request: Request) => {
|
||||||
version: '1.0'
|
version: '1.0'
|
||||||
};
|
};
|
||||||
return new Response(JSON.stringify(test), {
|
return new Response(JSON.stringify(test), {
|
||||||
headers: Constants.RESPONSE_HEADERS,
|
headers: {
|
||||||
|
...Constants.RESPONSE_HEADERS,
|
||||||
|
'content-type': 'application/json'
|
||||||
|
},
|
||||||
status: 200
|
status: 200
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue