Open msssk opened 3 years ago
Bug
https://github.com/dojo/webpack-contrib/blob/3641d4a8c5242ba13f6ad47bb210185b64c56690/src/build-time-render/BuildTimeRender.ts#L393 BTR elides localhost from URLs, but this process is not applied to the document head.
localhost
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" />
Bug
https://github.com/dojo/webpack-contrib/blob/3641d4a8c5242ba13f6ad47bb210185b64c56690/src/build-time-render/BuildTimeRender.ts#L393 BTR elides
localhost
from URLs, but this process is not applied to the document head.Code
Expected behavior:
<meta property="og:image" content="image.jpg" />
Actual behavior:
<meta property="og:image" content="http://localhost:54327/image.jpg" />