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

Andras Bacsaia0e229a48920
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index b4b6ce0aff..620d8a96ad 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -81,7 +81,10 @@ function set_transanctional_email_settings()
"local_domain" => null,
]);
}
-
+function base_ip() {
+ $settings = InstanceSettings::get();
+ return "http://{$settings->public_ipv4}"
+}
function base_url(bool $withPort = true)
{
$settings = InstanceSettings::get();
diff --git a/config/version.php b/config/version.php
index 6d915d39f0..1a5c764273 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-nightly.17';
+return '4.0.0-nightly.18';
diff --git a/resources/views/livewire/server/proxy/deploy.blade.php b/resources/views/livewire/server/proxy/deploy.blade.php
index 88a54d3dd0..c68bc87626 100644
--- a/resources/views/livewire/server/proxy/deploy.blade.php
+++ b/resources/views/livewire/server/proxy/deploy.blade.php
@@ -3,7 +3,7 @@
@if ($server->extra_attributes->proxy_status === 'running')
<div class="flex gap-4">
<div class="group">
- <label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Links
+ <label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Links
<x-chevron-down />
</label>
<div class="absolute hidden group-hover:block ">
@@ -12,7 +12,7 @@
<li>
<a target="_blank"
class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs"
- href="{{ base_url(withPort: false) }}:8080">
+ href="{{ base_ip() }}:8080">
Traefik Dashboard
<x-external-link />
</a>
@@ -57,7 +57,7 @@
</div>
</div>
@else
- <button wire:click='deploy' class="flex items-center gap-2 cursor-pointer hover:text-white"> <svg
+ <button wire:click='deploy' class="flex items-center gap-2 cursor-pointer hover:text-white"> <svg
xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
diff --git a/versions.json b/versions.json
index c13801c18a..77c235f995 100644
--- a/versions.json
+++ b/versions.json
@@ -1,10 +1,10 @@
{
"coolify": {
"main": {
- "version": "3.12.31"
+ "version": "3.12.32"
},
"v4": {
- "version": "4.0.0-nightly.17"
+ "version": "4.0.0-nightly.18"
}
}
}
\ No newline at end of file