From 49502df4165b24a4efb29f7e6b8a7c3df0c610b2 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 9 Feb 2025 01:25:33 -0500 Subject: [PATCH] Tweaks --- lib/Atom.rakumod | 1 + lib/DB/BlogMeta.rakumod | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 }