mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +00:00
don't publish in the background
This commit is contained in:
parent
3c2bc2d6e3
commit
570d333b61
1 changed files with 1 additions and 3 deletions
|
|
@ -124,9 +124,7 @@ post '/publish' do
|
||||||
return 'forbidden'
|
return 'forbidden'
|
||||||
end
|
end
|
||||||
|
|
||||||
fork do
|
blog.publish(@fields['env'])
|
||||||
blog.publish(@fields['env'])
|
|
||||||
end
|
|
||||||
status 204
|
status 204
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue