Asd22 Entertainment commited on
Commit
3a1fbe6
·
1 Parent(s): 10d5116

trying to build

Browse files
Files changed (2) hide show
  1. .gitignore +4 -1
  2. bin/main.dart +4 -2
.gitignore CHANGED
@@ -1,4 +1,7 @@
1
  # https://dart.dev/guides/libraries/private-files
2
  # Created by `dart pub`
3
  .dart_tool/
4
- .dart_tool/package_config.json
 
 
 
 
1
  # https://dart.dev/guides/libraries/private-files
2
  # Created by `dart pub`
3
  .dart_tool/
4
+ .dart_tool/package_config.json
5
+ rate_limits.dartcorelimits
6
+ rate_limits.dartcorelimits.ip
7
+ rate_limits.dartcorelimits.country
bin/main.dart CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import 'package:dartcore/dartcore.dart' as dartcore;
2
 
3
  final app = dartcore.App();
@@ -6,6 +8,6 @@ void main() async {
6
  app.get("/", (req, res) async {
7
  res.html("<h1>Hello World</h1>");
8
  });
9
-
10
- await app.start(port: 8080);
11
  }
 
1
+ import 'dart:io';
2
+
3
  import 'package:dartcore/dartcore.dart' as dartcore;
4
 
5
  final app = dartcore.App();
 
8
  app.get("/", (req, res) async {
9
  res.html("<h1>Hello World</h1>");
10
  });
11
+ app.start(port: 8080);
12
+ exit(0);
13
  }