Improve topic sorting: add popular sorting by publications and authors count
This commit is contained in:
@@ -71,7 +71,7 @@ function prepareUrl(url: string): string {
|
||||
if (location.hostname === 'localhost') {
|
||||
return `${location.origin}/graphql`
|
||||
}
|
||||
|
||||
|
||||
// Если это относительный путь, добавляем к нему origin
|
||||
if (url.startsWith('/')) {
|
||||
return `${location.origin}${url}`
|
||||
|
Reference in New Issue
Block a user