fixes
This commit is contained in:
parent
ccb9769e67
commit
601a1e128e
@ -6,7 +6,6 @@
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Laravel\Sanctum\Sanctum;
|
||||
use App\Models\PersonalAccessToken;
|
||||
use Illuminate\Support\Facades\Config;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
|
@ -1551,7 +1551,7 @@ function generateEnvValue(string $command)
|
||||
function getRealtime()
|
||||
{
|
||||
$envDefined = env('PUSHER_PORT');
|
||||
if (is_null($envDefined)) {
|
||||
if (empty($envDefined)) {
|
||||
$url = Url::fromString(Request::getSchemeAndHttpHost());
|
||||
$port = $url->getPort();
|
||||
if ($port) {
|
||||
|
@ -22,7 +22,7 @@ services:
|
||||
AUTORUN_LARAVEL_STORAGE_LINK: "false"
|
||||
AUTORUN_LARAVEL_MIGRATION: "false"
|
||||
PUSHER_HOST: "${PUSHER_HOST}"
|
||||
PUSHER_PORT: "${PUSHER_PORT:-6001}"
|
||||
PUSHER_PORT: "${PUSHER_PORT}"
|
||||
PUSHER_SCHEME: "${PUSHER_SCHEME:-http}"
|
||||
PUSHER_APP_ID: "${PUSHER_APP_ID:-coolify}"
|
||||
PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
||||
|
@ -3,8 +3,6 @@
|
||||
<span x-data x-init="$wire.emit('error', '{{ session('error') }}')" />
|
||||
@endif
|
||||
<h1>Dashboard</h1>
|
||||
Realtime Port: {{ getRealtime() ?? 'Not set' }}
|
||||
|
||||
<div class="subtitle">Your self-hosted environment</div>
|
||||
@if (request()->query->get('success'))
|
||||
<div class="rounded alert alert-success">
|
||||
|
Loading…
Reference in New Issue
Block a user