Merge pull request #217 from phlipper/fix-sinatra-api-warning
set :public_folder in frontend app instead of :public
This commit is contained in:
@@ -13,8 +13,7 @@ module Precious
|
|||||||
dir = File.dirname(File.expand_path(__FILE__))
|
dir = File.dirname(File.expand_path(__FILE__))
|
||||||
|
|
||||||
# We want to serve public assets for now
|
# We want to serve public assets for now
|
||||||
|
set :public_folder, "#{dir}/public"
|
||||||
set :public, "#{dir}/public"
|
|
||||||
set :static, true
|
set :static, true
|
||||||
|
|
||||||
set :mustache, {
|
set :mustache, {
|
||||||
|
|||||||
Reference in New Issue
Block a user