fix(api): make commentsUrl in search results absolute

This commit is contained in:
Harsh Shandilya 2023-08-02 01:40:16 +05:30
parent 432a438815
commit 786f674044
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ class SearchApiTest {
url = "https://xenodium.com/chatgpt-visits-the-emacs-doctor/",
createdAt = "",
commentCount = 3,
commentsUrl = "/s/gjlsdg/chatgpt_visits_emacs_doctor",
commentsUrl = "https://lobste.rs/s/gjlsdg/chatgpt_visits_emacs_doctor",
submitter = User("xenodium", "", null, "/avatars/xenodium-16.png", ""),
tags = listOf("ai", "emacs"),
description = "",
@ -49,7 +49,7 @@ class SearchApiTest {
url = "https://mstack.nl/blog/20230623-chatgpt-question-pdf-document/",
createdAt = "",
commentCount = 0,
commentsUrl = "/s/astcqf/implementing_question_answering_system",
commentsUrl = "https://lobste.rs/s/astcqf/implementing_question_answering_system",
submitter = User("asteroid", "", null, "/avatars/asteroid-16.png", ""),
tags = listOf("ai"),
description = "",