10 lines
380 B
PHP
10 lines
380 B
PHP
<?php
|
|
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Support\Facades\Route;
|
|
use App\Http\Controllers\WebCrawlController;
|
|
|
|
Route::get('/crawl', [WebCrawlController::class, 'crawlWebsite']);
|
|
Route::get('/', [WebCrawlController::class, 'index']);
|
|
Route::delete('/crawl/{id}', [WebCrawlController::class, 'destroy']);
|
|
Route::delete('/crawl', [WebCrawlController::class, 'destroyAll']);
|