diff --git a/lib/Atom.rakumod b/lib/Atom.rakumod index f058731..caee5d8 100644 --- a/lib/Atom.rakumod +++ b/lib/Atom.rakumod @@ -39,6 +39,7 @@ sub post-to-item(BlogMeta:D $meta, Int:D $id, Post:D $post --> XML::Element) { $xml.append: $author; $xml.append: XML::Element.new(:name, :attribs({:href($link), :rel})); + # TODO: Actually embed the content $xml.append: XML::Element.new(:name, :attribs({:src($link), :type})); $xml.append: diff --git a/lib/DB/BlogMeta.rakumod b/lib/DB/BlogMeta.rakumod index e6ccf5d..a5a1fd2 100644 --- a/lib/DB/BlogMeta.rakumod +++ b/lib/DB/BlogMeta.rakumod @@ -23,8 +23,8 @@ has Str:D $.base-url is required; #| Return the base url, but substitute it out if the test environment variable #| is set method get-base-url(--> Str:D) { - if %*ENV { - "http://localhost:8080" + if %*ENV { + "http://localhost:8000" } else { $!base-url }