Skip to content

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.

fix: use ip for sslip in dev if remote server is used

Andras Bacsaiee71aeaa3692
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index 08315b422e..87a850fe40 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -408,7 +408,7 @@ function generateFqdn(Server $server, string $random)
}
function sslip(Server $server)
{
- if (isDev()) {
+ if (isDev() && $server->id === 0) {
return "http://127.0.0.1.sslip.io";
}
if ($server->ip === 'host.docker.internal') {