Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed May 17, 2024
1 parent 889d92f commit ed9338c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "OldTweetDeck",
"description": "Returns old TweetDeck, for free!",
"version": "3.6.0",
"version": "3.6.1",
"manifest_version": 2,
"homepage_url": "https://github.com/dimdenGD/OldTweetDeck",
"permissions": [
Expand Down
4 changes: 2 additions & 2 deletions src/interception.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const PUBLIC_TOKENS = [
"Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA",
"Bearer AAAAAAAAAAAAAAAAAAAAAFQODgEAAAAAVHTp76lzh3rFzcHbmHVvQxYYpTw%3DckAlMINMjmCwxUcaXbAN4XqJVdgMJaHqNOFgPMK0zN1qLqLQCF",
];
const NEW_API = "https://twitter.com/i/api/graphql";
const NEW_API = `https://${location.hostname}/i/api/graphql`;
const cursors = {};

const generateID = () => {
Expand Down Expand Up @@ -1108,7 +1108,7 @@ const proxyRoutes = [
path: "/1.1/statuses/update.json",
method: "POST",
beforeRequest: (xhr) => {
xhr.modUrl = `https://twitter.com/i/api/graphql/tTsjMKyhajZvK4q76mpIBg/CreateTweet`;
xhr.modUrl = `https://${location.hostname}/i/api/graphql/tTsjMKyhajZvK4q76mpIBg/CreateTweet`;
},
beforeSendHeaders: (xhr) => {
xhr.modReqHeaders["Content-Type"] = "application/json";
Expand Down

0 comments on commit ed9338c

Please sign in to comment.