added assets into stream

This commit is contained in:
2026-06-27 15:51:44 +03:30
parent a0b3d8d3f5
commit 7b05db0ff0
6 changed files with 170 additions and 16 deletions
+8 -1
View File
@@ -30,7 +30,14 @@ use App\Http\Controllers\Admin\CategoryController;
Route::get('/candle',[ReportController::class, 'candleChart']);
Route::get('/price/up',[ReportController::class, 'upDownPrice']);
Route::match(['get', 'post'],'/price/last',[ReportController::class, 'lastPrice']);
Route::get('/price/stream', [PriceStreamController::class, 'stream'])->withoutMiddleware(['throttle:api']);
$priceStreamRoute = Route::get('/price/stream', [PriceStreamController::class, 'stream'])
->withoutMiddleware(['throttle:api']);
if (! app(ConfigService::class)->isStore()) {
$priceStreamRoute->middleware('auth:customer');
}
Route::get('/price/updatePrise',[ReportController::class, 'updatePrise']);
Route::get('/const/key/{key}',[ConstController::class, 'showValue']);
Route::get('/check',[ReportController::class, 'check']);