revert: wip
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
import Alpine from "alpinejs";
|
||||
import Echo from 'laravel-echo';
|
||||
import Pusher from 'pusher-js';
|
||||
// import Echo from 'laravel-echo';
|
||||
// import Pusher from 'pusher-js';
|
||||
import { createApp } from "vue";
|
||||
import MagicBar from "./components/MagicBar.vue";
|
||||
import Toaster from "../../vendor/masmerise/livewire-toaster/resources/js";
|
||||
|
||||
window.Pusher = Pusher;
|
||||
// window.Pusher = Pusher;
|
||||
|
||||
window.Echo = new Echo({
|
||||
broadcaster: 'pusher',
|
||||
cluster: window.location.hostname,
|
||||
key: import.meta.env.VITE_PUSHER_APP_KEY ?? 'coolify',
|
||||
wsHost: window.location.hostname,
|
||||
wsPort: 6001,
|
||||
wssPort: 6001,
|
||||
forceTLS: false,
|
||||
encrypted: true,
|
||||
disableStats: false,
|
||||
enableLogging: true,
|
||||
enabledTransports: ['ws', 'wss'],
|
||||
});
|
||||
// window.Echo = new Echo({
|
||||
// broadcaster: 'pusher',
|
||||
// cluster: window.location.hostname,
|
||||
// key: import.meta.env.VITE_PUSHER_APP_KEY ?? 'coolify',
|
||||
// wsHost: window.location.hostname,
|
||||
// wsPort: 6001,
|
||||
// wssPort: 6001,
|
||||
// forceTLS: false,
|
||||
// encrypted: true,
|
||||
// disableStats: false,
|
||||
// enableLogging: true,
|
||||
// enabledTransports: ['ws', 'wss'],
|
||||
// });
|
||||
|
||||
Alpine.plugin(Toaster);
|
||||
|
||||
|
||||
@@ -45,18 +45,18 @@
|
||||
</svg>
|
||||
Restart
|
||||
</button>
|
||||
@if(isDev())
|
||||
<button title="Restart without rebuilding" wire:click='restartNew'
|
||||
class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
|
||||
<svg class="w-5 h-5 text-warning" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
||||
stroke-width="2">
|
||||
<path d="M19.933 13.041a8 8 0 1 1-9.925-8.788c3.899-1 7.935 1.007 9.425 4.747" />
|
||||
<path d="M20 4v5h-5" />
|
||||
</g>
|
||||
</svg>
|
||||
Restart (new)
|
||||
</button>
|
||||
@if (isDev())
|
||||
<button title="Restart without rebuilding" wire:click='restartNew'
|
||||
class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
|
||||
<svg class="w-5 h-5 text-warning" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
||||
stroke-width="2">
|
||||
<path d="M19.933 13.041a8 8 0 1 1-9.925-8.788c3.899-1 7.935 1.007 9.425 4.747" />
|
||||
<path d="M20 4v5h-5" />
|
||||
</g>
|
||||
</svg>
|
||||
Restart (new)
|
||||
</button>
|
||||
@endif
|
||||
@endif
|
||||
<button wire:click='stop' class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<nav x-init="$wire.check_status">
|
||||
<nav x-init="$wire.check_status" wire:poll.10000ms="check_status">
|
||||
<x-resources.breadcrumbs :resource="$application" :parameters="$parameters" />
|
||||
<x-applications.navbar :application="$application" :parameters="$parameters" />
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user