Skip to content
Snippets Groups Projects
Commit be3c5361 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: typo in url

parent 2698302c
No related branches found
No related tags found
2 merge requests!96release V1.10.0,!47Dev
...@@ -53,7 +53,7 @@ export class PostsController { ...@@ -53,7 +53,7 @@ export class PostsController {
} }
// Handle image display. Rewrite image URL to fit ghost infra issue. // Handle image display. Rewrite image URL to fit ghost infra issue.
if (post.feature_image && !this.configService.isLocalConf()) { if (post.feature_image && !this.configService.isLocalConf()) {
post.feature_image = `https:// + ${this.configService.config.host}/blog/content${ post.feature_image = `https://${this.configService.config.host}/blog/content${
post.feature_image.split('/content')[1] post.feature_image.split('/content')[1]
}`; }`;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment