Ghost/ghost/oembed-service
Daniel Lockyer 5fa4496d52 🐛 Fixed HTTP 500 responses when oembed endpoint receives error
fixes https://github.com/TryGhost/Product/issues/4237

- this fixes the fact that we return a HTTP 500 response when the oembed
  library receives an error, such as a 401 or 403
- includes special handling for cases where we want to return a slightly
  different error message
- also adds unit tests for @tryghost/oembed-service package
2024-03-12 12:31:44 +01:00
..
lib 🐛 Fixed HTTP 500 responses when oembed endpoint receives error 2024-03-12 12:31:44 +01:00
test 🐛 Fixed HTTP 500 responses when oembed endpoint receives error 2024-03-12 12:31:44 +01:00
.eslintrc.js Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00
index.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
package.json Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
README.md Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00

Oembed Service

Oembed service for Ghost

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests