diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag
index 440d5d9f4..cbd13aa59 100644
--- a/src/web/app/desktop/tags/timeline-post.tag
+++ b/src/web/app/desktop/tags/timeline-post.tag
@@ -329,7 +329,7 @@
 
 		this.title = this.dateStringify(this.p.created_at);
 
-		this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id;
+		this.url = `/${this.p.user.username}/${this.p.id}`;
 		this.isDetailOpened = false;
 
 		this.on('mount', () => {
diff --git a/src/web/app/mobile/tags/timeline-post.tag b/src/web/app/mobile/tags/timeline-post.tag
index 8662eadb8..ec3a42243 100644
--- a/src/web/app/mobile/tags/timeline-post.tag
+++ b/src/web/app/mobile/tags/timeline-post.tag
@@ -304,7 +304,7 @@
 		this.isRepost = this.post.repost != null && this.post.text == null;
 		this.p = this.isRepost ? this.post.repost : this.post;
 		this.summary = this.getPostSummary(this.p);
-		this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id
+		this.url = `/${this.p.user.username}/${this.p.id}`;
 
 		this.on('mount', () => {
 			if (this.p.text) {