byos_laravel/routes/web.php
Benjamin Nussbaum 715e6a2562 add features
* feat: autojoin toggle
* feat: auto add devices
* feat: proxy feature
* feat: support puppeteer in docker
* feat: toggle to activate cloud proxy
* feat: relay device information
* feat: relay logs to cloud
* feat: migrate on start
* feat: calculate battery state, wifi signal
* feat: eye candy for configure view
* feat: update via api
2025-03-03 21:24:22 +01:00

27 lines
991 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use Livewire\Volt\Volt;
Route::get('/', function () {
return view('welcome');
})->name('home');
Route::middleware(['auth'])->group(function () {
Route::redirect('settings', 'settings/profile');
Volt::route('settings/profile', 'settings.profile')->name('settings.profile');
Volt::route('settings/password', 'settings.password')->name('settings.password');
Volt::route('settings/appearance', 'settings.appearance')->name('settings.appearance');
Volt::route('/dashboard', 'device-dashboard')->name('dashboard');
Volt::route('/devices', 'devices.manage')->name('devices');
Volt::route('/devices/{device}/configure', 'devices.configure')->name('devices.configure');
Volt::route('plugins', 'plugins.index')->name('plugins.index');
Volt::route('plugins/markup', 'plugins.markup')->name('plugins.markup');
Volt::route('plugins/api', 'plugins.api')->name('plugins.api');
});
require __DIR__.'/auth.php';