<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

//Route::get('orders', [App\Http\Controllers\Api\OrderController::class, 'index'])->name('orders');


Route::get('bols', [App\Http\Controllers\BOLController::class, 'index'])->name('bols');





//Route::group(['middleware' => 'api-verification','cors', 'json.response'], function() {
Route::group(['middleware' => 'cors', 'json.response', 'api-verification'], function() {

//    Route::get('order/{order}', [App\Http\Controllers\OrderController::class, 'show'])->name('order.details');
//
//    Route::get('test' ,[App\Http\Controllers\Test::class, 'index'])->name('test');
//
//    Route::get('orders', [App\Http\Controllers\OrderController::class, 'index'])->name('orders');

});
