removed blade and htmx

This commit is contained in:
2026-05-06 23:16:09 +03:00
parent dff3748623
commit 98efb76f7b
31 changed files with 235 additions and 465 deletions
+5 -1
View File
@@ -9,6 +9,7 @@ use Illuminate\Support\ServiceProvider;
use Intervention\Image\ImageManager;
use Lucent\Account\AuthService;
use Lucent\Account\AuthServiceLunar;
use Lucent\Account\AuthServiceLucent;
use Lucent\Account\UserRepo;
use Lucent\Account\UserRepoLucent;
use Lucent\Account\UserRepoLunar;
@@ -51,7 +52,10 @@ class LucentServiceProvider extends ServiceProvider
});
$this->app->bind(AuthService::class, function ($app) {
return $app->make(AuthServiceLunar::class);
return match ($app->make(ChannelService::class)->channel->auth) {
ChannelAuth::LUNAR => $app->make(AuthServiceLunar::class),
ChannelAuth::LUCENT => $app->make(AuthServiceLucent::class),
};
});
}