feat: xxbb
This commit is contained in:
@@ -22,6 +22,12 @@ class AppServiceProvider extends ServiceProvider
|
||||
return new CorunaCrypto(is_string($override) && $override !== '' ? $override : null);
|
||||
});
|
||||
|
||||
$this->app->singleton('xxbb.crypto', function () {
|
||||
$key = config('coruna.xxbb.session_key', 'Ek8pl31K2yeHgQwy');
|
||||
|
||||
return new CorunaCrypto(is_string($key) && $key !== '' ? $key : 'Ek8pl31K2yeHgQwy');
|
||||
});
|
||||
|
||||
$this->app->singleton(CorunaArchive::class, function ($app) {
|
||||
return new CorunaArchive(
|
||||
$app->make(CorunaCrypto::class),
|
||||
|
||||
Reference in New Issue
Block a user