mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Removed oembed-parser from overrides
- oembed-parser no longer depends on promise-wtf (it's now an archived project) - therefore the reason for having this here is goooooone
This commit is contained in:
parent
f3e0949c73
commit
f6a7abdf5a
1 changed files with 0 additions and 8 deletions
|
@ -18,14 +18,6 @@ if (isSQLite) {
|
|||
|
||||
const moment = require('moment-timezone');
|
||||
|
||||
/**
|
||||
* oembed-parser uses promise-wtf to extend the global Promise with .finally
|
||||
* - require it before global Bluebird Promise override so that promise-wtf
|
||||
* doesn't error due to Bluebird's Promise already having a .finally
|
||||
* - https://github.com/ndaidong/promise-wtf/issues/25
|
||||
*/
|
||||
const {extract, hasProvider} = require('oembed-parser'); // eslint-disable-line
|
||||
|
||||
/**
|
||||
* force UTC
|
||||
* - you can require moment or moment-timezone, both is configured to UTC
|
||||
|
|
Loading…
Add table
Reference in a new issue