Skip to content
Browse files

fix js not load

  • Loading branch information...
1 parent a57a959 commit f607ef3a26d8fa1b4ea93b9b5829f110e26783df @tdtds tdtds committed
Showing with 4 additions and 0 deletions.
  1. +3 −0 ChangeLog
  2. +1 −0 tdiary/server.rb
View
3 ChangeLog
@@ -1,3 +1,6 @@
+2013-03-13 TADA Tadashi <t@tdtds.jp>
+ * tdiary/server.rb: fix js not load
+
2013-02-10 MATSUOKA Kohei <kohei@machu.jp>
* tdiary/view.rb, js/comment_ajax.js: post comment with ajax
* tdiary/request.rb: implement TDiary::Request#xhr?
View
1 tdiary/server.rb
@@ -43,6 +43,7 @@ def initialize( opts )
@server.mount("/index.rb", WEBrick::HTTPServlet::CGIHandler, TDiary.root + '/index.rb')
@server.mount("/update.rb", WEBrick::HTTPServlet::CGIHandler, TDiary.root + "/update.rb")
@server.mount("/theme", WEBrick::HTTPServlet::FileHandler, TDiary.root + '/theme')
+ @server.mount("/js", WEBrick::HTTPServlet::FileHandler, TDiary.root + '/js')
end
def start

0 comments on commit f607ef3

Please sign in to comment.
Something went wrong with that request. Please try again.