disabledCors static method
void
disabledCors(
- dynamic callback()
group of route to disabled cors
Route.disabledCors(() {
Route.get('/ping', controller);
});
Implementation
static void disabledCors(Function() callback) {
_cors(false, callback);
}