mirror of
https://github.com/felixblaschke/shelf_plus.git
synced 2025-08-03 17:43:18 +08:00
11 lines
165 B
Dart
11 lines
165 B
Dart
import 'package:shelf_plus/shelf_plus.dart';
|
|
|
|
void main() => shelfRun(init);
|
|
|
|
Handler init() {
|
|
// #begin
|
|
var app = Router().plus;
|
|
// #end
|
|
return app.call;
|
|
}
|