I loaded images from the CMS and tried to display them, but they did not display properly.
The following error was displayed in the terminal.
BadRequestError: Bad Request
at createHttpError (/Users/yuta/private/oxo-tech-site-spear/node_modules/send/index.js:979:12)
at SendStream.error (/Users/yuta/private/oxo-tech-site-spear/node_modules/send/index.js:270:31)
at SendStream.pipe (/Users/yuta/private/oxo-tech-site-spear/node_modules/send/index.js:516:10)
at /Users/yuta/private/oxo-tech-site-spear/node_modules/live-server/index.js:97:5
at call (/Users/yuta/private/oxo-tech-site-spear/node_modules/connect/index.js:239:7)
at next (/Users/yuta/private/oxo-tech-site-spear/node_modules/connect/index.js:183:5)
at Function.handle (/Users/yuta/private/oxo-tech-site-spear/node_modules/connect/index.js:186:3)
at Server.app (/Users/yuta/private/oxo-tech-site-spear/node_modules/connect/index.js:51:37)
at Server.emit (node:events:520:28)
at parserOnIncoming (node:_http_server:951:12)
Describe the bug
I loaded images from the CMS and tried to display them, but they did not display properly. The following error was displayed in the terminal.
the source is below
and what I get is
The a tag with the
article-imageLink
class is missing entirely. this code works fine with original cms.js from Spearly CMSExpected behavior Embed contents correctly