Commit 5827c4cca22b8e9460a1ef7efdf04b89293260d8

Authored by Karpikau Andrei
1 parent 9b4c827a

parse file name change to kanjai.html

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