From e5cffd39d70b7d90b2bc7fb4c8ea8d89a21ec60e Mon Sep 17 00:00:00 2001 From: Ro Date: Wed, 27 Oct 2021 14:37:42 -0700 Subject: [PATCH] fix for #60 - render flag false fix --- brain/api/v1/SettingsAPI.inc.php | 10 +++++++--- public/assets/images/global/rikc-logo.svg | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 public/assets/images/global/rikc-logo.svg diff --git a/brain/api/v1/SettingsAPI.inc.php b/brain/api/v1/SettingsAPI.inc.php index 455872e..1a8afda 100644 --- a/brain/api/v1/SettingsAPI.inc.php +++ b/brain/api/v1/SettingsAPI.inc.php @@ -29,21 +29,25 @@ class SettingsAPI $render->renderIndex(); $result = [ "message" => "Index Rendered. HAND CLAPS", - "type" => "TASK_NONE", + "type" => "RENDER_SUCCESS", ]; } else { + $render->renderTags(); + $render->renderArchive(); + $render->renderPages(); $result = [ "message" => "Site Rendered. GOOD EFFORT", - "type" => "TASK_NONE", + "type" => "RENDER_SUCCESS", ]; } } else { + // just incase the render flag is missing $render->renderTags(); $render->renderArchive(); $render->renderPages(); $result = [ "message" => "Site Rendered. GOOD EFFORT", - "type" => "TASK_NONE", + "type" => "RENDER_SUCCESS", ]; } diff --git a/public/assets/images/global/rikc-logo.svg b/public/assets/images/global/rikc-logo.svg new file mode 100644 index 0000000..3c55698 --- /dev/null +++ b/public/assets/images/global/rikc-logo.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +