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", ])?