-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Bug
content = content.replace(/http:\/\/localhost:\d+\//g, ''); |
BTR elides
localhost
from URLs, but this process is not applied to the document head.
Code
const image = require('./image.jpg');
// in widget
return (
<div>
<head>
<meta property="og:image" content={image} />
</head>
</div>
);
Expected behavior:
<meta property="og:image" content="image.jpg" />
Actual behavior:
<meta property="og:image" content="http://localhost:54327/image.jpg" />
Metadata
Metadata
Assignees
Labels
No labels