From 14314e67d0c9bef56c312aa12f0134d7ed077abd Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Wed, 10 Jul 2024 18:20:33 +0000 Subject: [PATCH] move index.html to the project directory --- apache/src/helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/src/helpers.rs b/apache/src/helpers.rs index 4ff5c2b..f108d15 100644 --- a/apache/src/helpers.rs +++ b/apache/src/helpers.rs @@ -42,7 +42,7 @@ pub fn setup() -> Result { .with_exec(vec!["mkdir", "-p", "log"])? .with_exec(vec![r#"[ -f log/.gitignore ] || echo -e 'error.log\naccess.log' > log/.gitignore"#])? .with_exec(vec!["[ -f httpd.conf ] || wget https://raw.githubusercontent.com/fluentci-io/services/main/apache/httpd.conf"])? - .with_exec(vec!["[ -f index.html ] || wget https://raw.githubusercontent.com/fluentci-io/services/main/apache/web/index.html"])? + .with_exec(vec!["[ -f ../index.html ] || wget https://raw.githubusercontent.com/fluentci-io/services/main/apache/web/index.html -O ../index.html"])? .with_exec(vec![ "grep -q web Procfile || echo 'web: apachectl start -f $PWD/httpd.conf -D FOREGROUND' >> Procfile", ])?