lib/site_hook/webhook.rb in site_hook-0.6.13 vs lib/site_hook/webhook.rb in site_hook-0.6.14

- old
+ new

@@ -19,11 +19,11 @@ set port: JPHRC.fetch('port', 9090) set bind: '127.0.0.1' set server: %w[thin] set quiet: true set raise_errors: true - set views: Pathname(app_file).dirname.join('site_hook', 'views') - set :public_folder, Pathname(app_file).dirname.join('site_hook', 'static') + set views: Pathname(SiteHook::Paths.lib_dir).dirname.join('site_hook', 'views') + set :public_folder, Pathname(SiteHook::Paths.lib_dir).dirname.join('site_hook', 'static') use SassHandler use CoffeeHandler # # @param [String] body JSON String of body