This commit is contained in:
Nathan McCarty 2025-02-09 01:25:33 -05:00
parent 73de17fc2c
commit 49502df416
2 changed files with 3 additions and 2 deletions

View file

@ -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<BLOG_TEST> {
"http://localhost:8080"
if %*ENV<LOCAL_RSS> {
"http://localhost:8000"
} else {
$!base-url
}