mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +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'
|
||||
end
|
||||
|
||||
fork do
|
||||
blog.publish(@fields['env'])
|
||||
end
|
||||
blog.publish(@fields['env'])
|
||||
status 204
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue