Last updated:
0 purchases
serinus cors
Serinus Cors #
A hook for Serinus applications 🐤 to customize Cross-Origin Resource Sharing behaviour.
Installation #
dart pub add serinus_cors
copied to clipboard
Usage #
import 'package:serinus/serinus.dart';
void main(List<String> arguments) async {
SerinusApplication application = await serinus.createApplication(
entrypoint: AppModule());
application.use(CorsHook());
await application.serve();
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.