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

[docs] simplify redirector to just point at directory instead of specifically index.html

This commit is contained in:
geemus 2011-04-11 17:33:59 -07:00
parent dd2bd13ad3
commit b97d624659

View file

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