its my server.js
/**
* EXPRESS FOR ROUTING
*/
const serverOptions = {
key: fs.readFileSync('/home/cert/total/privkey.pem'),
cert: fs.readFileSync('/home/cert/total/cert.csr')
}
const express = require("express");
const app = express();
const https = require("https");
const server = https.createServer(serverOptions, app);
/**
it's my web.php
Route::post('/settings/check_database_connection',[SettingController::class,'test_database_connection'])->name('connectDB');
Route::post('/settings/activate_license',[SettingController::class,'activate_license'])->name('activateLicense');
URL::forceScheme('https');
});
?>