Skip to content

Commit

Permalink
Redirect media.discordapp.com
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecrowley committed Jan 13, 2022
1 parent fc2bacc commit 2e1adcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ NSString *fosscordURL;
newURL = [newURL stringByReplacingOccurrencesOfString:@"discord.com" withString:fosscordURL];
newURL = [newURL stringByReplacingOccurrencesOfString:@"gateway.discord.gg" withString:fosscordURL];
newURL = [newURL stringByReplacingOccurrencesOfString:@"cdn.discordapp.com" withString:fosscordURL];
newURL = [newURL stringByReplacingOccurrencesOfString:@"media.discordapp.com" withString:fosscordURL];

url = [NSURL URLWithString:newURL];
}
Expand Down
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: com.jakecrowley.fosscordtweak
Name: FosscordTweak
Version: 0.1
Version: 0.3
Architecture: iphoneos-arm
Description: Redirects Discord API requests to Fosscord.
Maintainer: Jake Crowley
Expand Down

0 comments on commit 2e1adcd

Please sign in to comment.