<?php

use Illuminate\Http\Request;
use App\Http\Controllers\Cron\CronController;


// header('Access-Control-Allow-Origin: *');
// header("Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization");
// header("Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE");

/*
|--------------------------------------------------------------------------
| Cron Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/


		//Date Increment
		Route::get('/increment', [CronController::class, 'dateIncrement']);

		//Button Date Increment
		Route::get('/buttonincrement', [CronController::class, 'buttonDateIncrement']);
	
