Skip to content

Commit

Permalink
Update redir.php
Browse files Browse the repository at this point in the history
fixed CSV file location
  • Loading branch information
ASoTNetworks authored Sep 11, 2020
1 parent 3e70575 commit b2c95e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redir.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$link = $_REQUEST['link'];

$tolink = "";
$csv = file_get_contents("https://github.com/tomeshnet/toronto-community-network/blob/master/communications/shortlinks.csv");
$csv = file_get_contents("https://raw.githubusercontent.com/tomeshnet/toronto-community-network/master/communications/shortlinks.csv");

$lines = explode("\n", $csv);
foreach ($lines as $line) {
Expand Down

0 comments on commit b2c95e3

Please sign in to comment.