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:
parent
dd2bd13ad3
commit
b97d624659
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue