diff --git a/lib/micropub/webserver.rb b/lib/micropub/webserver.rb index 43ebfa9..0f6db95 100644 --- a/lib/micropub/webserver.rb +++ b/lib/micropub/webserver.rb @@ -28,7 +28,7 @@ module Micropub post = Post.new(params) if github.post!(post) - headers "Location" => post.path + headers "Location" => "#{ENV.fetch("SITE_URL")}#{post.path}" status 202 else status 400