mirror of
https://github.com/xvrh/lottie-flutter.git
synced 2025-08-06 16:39:36 +08:00
10 lines
308 B
Dart
10 lines
308 B
Dart
import 'dart:io';
|
|
import 'package:shelf/shelf_io.dart';
|
|
import 'package:shelf_static/shelf_static.dart';
|
|
|
|
void main() async {
|
|
var server = await serve(
|
|
createStaticHandler('build/web'), InternetAddress.loopbackIPv4, 0);
|
|
print('Listen on http://${server.address.host}:${server.port}/index.html');
|
|
}
|