An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactor: Update getAJoke function to use HTTPS for API request
Andras Bacsai1c5fd8d66894
diff --git a/scripts/install.sh b/scripts/install.shindex 2eb012a30e..7a000b5bc2 100755--- a/scripts/install.sh+++ b/scripts/install.sh@@ -23,7 +23,7 @@ INSTALLATION_LOG_WITH_DATE="/data/coolify/source/installation-${DATE}.log"exec > >(tee -a $INSTALLATION_LOG_WITH_DATE) 2>&1getAJoke() {- JOKES=$(curl -s --max-time 2 https://v2.jokeapi.dev/joke/Programming?blacklistFlags=nsfw,religious,political,racist,sexist,explicit&format=txt&type=single || true)+ JOKES=$(curl -s --max-time 2 "https://v2.jokeapi.dev/joke/Programming?blacklistFlags=nsfw,religious,political,racist,sexist,explicit&format=txt&type=single" || true)if [ "$JOKES" != "" ]; thenecho -e " - Until then, here's a joke for you:\n"echo -e "$JOKES\n"