1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

change redirect to match CNAME

This commit is contained in:
geemus 2011-04-03 00:07:55 -04:00
parent d15a72239f
commit 28f26e6268

View file

@ -155,7 +155,7 @@ task :docs do
# write base index with redirect to new version
directory.files.create(
:body => '<!doctype html><head><script>window.location = "http://fog.io.s3-website-us-east-1.amazonaws.com/' << version << '/index.html"</script></head></html>',
:body => '<!doctype html><head><script>window.location = "http://fog.io/' << version << '/index.html"</script></head></html>',
:content_type => 'text/html',
:key => 'index.html',
:public => true