From 7fd2314b7f077e09968addd6bfac4deeb7fd0aea Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 19 Jan 2025 20:22:21 +0200 Subject: feat(views/archive): Show webpage preview --- apache/sites/nowayforward_human.conf.tpl | 1 + views/archive/index.php | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apache/sites/nowayforward_human.conf.tpl b/apache/sites/nowayforward_human.conf.tpl index e94e13e..72ed808 100644 --- a/apache/sites/nowayforward_human.conf.tpl +++ b/apache/sites/nowayforward_human.conf.tpl @@ -1,6 +1,7 @@ ServerName localhost DocumentRoot "${REPOSITORY}/views" + Alias /archives "${ARCHIVES_DIR}" SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/" diff --git a/views/archive/index.php b/views/archive/index.php index e5146a3..f96c34f 100644 --- a/views/archive/index.php +++ b/views/archive/index.php @@ -5,9 +5,7 @@ ?> - + URL) as $page): ?>
Date ?> -- cgit v1.2.3