Skip to content
This repository was archived by the owner on Feb 5, 2023. It is now read-only.
This repository was archived by the owner on Feb 5, 2023. It is now read-only.

Wrong Link for Jike repost #292

@sxzz

Description

@sxzz

Describe the bug
Jike repost link is https://web.okjike.com/repost/id, not https://web.okjike.com/originalPost/id

Cheers/src/views/Home.vue

Lines 818 to 820 in bafeca2

link = `https://${this.isPCLayout ? 'web' : 'm'}.okjike.com/${
this.isPCLayout ? 'originalPost' : 'originalPosts'
}/${content.target.action.payload}`;

To Reproduce

My Cheers Page: https://cheers.bio/sanxiaozhizi.bit

I have a Jike repost:

Coding is legislating.
RT 方的胖虎: Coder is lawyer."

It linked to https://web.okjike.com/originalPost/62434430e8de690010dd9123, and the correct link is https://web.okjike.com/repost/62434430e8de690010dd9123

Expected behavior

Link is correct for reposts.

Screenshots

image

Desktop (please complete the following information):

  • OS: macOS
  • Browser N/A
  • Version N/A

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser N/A
  • Version N/A

Additional context

I think maybe RSS3 should add post type (originalPost / repost) to payload.

BTW, there's the same problem in Revery.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions