Skip to content

Commit

Permalink
Fix OK share url
Browse files Browse the repository at this point in the history
  • Loading branch information
koddr committed Mar 4, 2021
1 parent a83b49c commit 6ff5ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/Odnoklassniki.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ export default {
// Variables
const width = 640;
const height = 480;
const share_url = `https://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl=${encodeURIComponent(
const share_url = `https://connect.ok.ru/offer?url=${encodeURIComponent(
this.$props.page_url
)}&st.comments=${encodeURIComponent(this.$props.page_title)}`;
)}&title=${encodeURIComponent(this.$props.page_title)}`;
// onClick event
clickEvent(this, "odnoklassniki");
Expand Down

0 comments on commit 6ff5ad9

Please sign in to comment.