Commit 5827c4cca22b8e9460a1ef7efdf04b89293260d8

Authored by Karpikau Andrei
1 parent 9b4c827a

parse file name change to kanjai.html

... ... @@ -51,7 +51,7 @@ module Kanjai
51 51 @zip_file.get_list_file.each do |file_name|
52 52 content = @zip_file.get_content(file_name)
53 53 #set correct path to js and css file
54   - if file_name == 'index.html'
  54 + if file_name == 'kanjai.html'
55 55
56 56 self.template_parts.delete_all
57 57
... ... @@ -154,9 +154,9 @@ module Kanjai
154 154
155 155 def get_html_content
156 156 #if self.unzip == true
157   - if S3_BUCKET.object("#{self.template_content_path}index.html").exists?
  157 + if S3_BUCKET.object("#{self.template_content_path}kanjai.html").exists?
158 158 io = StringIO.new
159   - S3_BUCKET.object("#{self.template_content_path}index.html").get({
  159 + S3_BUCKET.object("#{self.template_content_path}kanjai.html").get({
160 160 response_target: io
161 161 })
162 162 return io.read
... ...
1 1 module Kanjai
2   - VERSION = "0.0.163"
  2 + VERSION = "0.0.164"
3 3 end
... ...