mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Move the page margin config to frontend
This commit is contained in:
@@ -612,7 +612,6 @@ struct APIRouter
|
||||
"width" => Int32,
|
||||
"height" => Int32,
|
||||
}],
|
||||
"margin" => Int32?,
|
||||
}
|
||||
get "/api/dimensions/:tid/:eid" do |env|
|
||||
begin
|
||||
@@ -628,7 +627,6 @@ struct APIRouter
|
||||
send_json env, {
|
||||
"success" => true,
|
||||
"dimensions" => sizes,
|
||||
"margin" => Config.current.page_margin,
|
||||
}.to_json
|
||||
rescue e
|
||||
send_json env, {
|
||||
|
||||
Reference in New Issue
Block a user