🛠️ Simplify route definition and update JS for Nostr profile handling

This commit is contained in:
HolgerHatGarKeineNode
2026-01-06 19:57:43 +01:00
parent 772853dc61
commit 5783445b68
7 changed files with 50 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
<?php
use App\Http\Controllers\Api\Nostr\GetProfile;
use Illuminate\Support\Facades\Route;
Route::get('/nostr/profile/{key}', \App\Http\Controllers\Api\Nostr\GetProfile::class);
Route::get('/nostr/profile/{key}', GetProfile::class);

View File

@@ -1,6 +1,8 @@
<?php
use App\Console\Commands\Nostr\SyncProfiles;
use Illuminate\Support\Facades\Schedule;
Schedule::command('backup:clean')->daily()->at('01:00');
Schedule::command('backup:run')->daily()->at('01:30');
Schedule::command(SyncProfiles::class)->daily()->at('00:30');