d3g5gsiof5omrk.cloudfront.net -> releases.nixos.org

This commit is contained in:
Eelco Dolstra 2018-07-19 16:01:55 +02:00
parent 97d9e3ea01
commit e9587f9388

View file

@ -209,7 +209,7 @@ flock($lockfile, LOCK_EX) or die "cannot acquire channels lock\n";
# Update the channel. # Update the channel.
my $htaccess = "$channelsDir/.htaccess-$channelName"; my $htaccess = "$channelsDir/.htaccess-$channelName";
my $target = "https://d3g5gsiof5omrk.cloudfront.net/$releasePrefix"; my $target = "https://releases.nixos.org/$releasePrefix";
write_file($htaccess, write_file($htaccess,
"Redirect /channels/$channelName $target\n" . "Redirect /channels/$channelName $target\n" .
"Redirect /releases/nixos/channels/$channelName $target\n"); "Redirect /releases/nixos/channels/$channelName $target\n");