Spaces:
Build error
Build error
David Li commited on
Commit ·
8c19e68
1
Parent(s): 7e19b5e
fix: cli code
Browse files- bin/cli.dart +2 -2
bin/cli.dart
CHANGED
|
@@ -13,9 +13,9 @@ void main(List<String> arguments) async {
|
|
| 13 |
final app = Alfred();
|
| 14 |
|
| 15 |
// print line
|
| 16 |
-
print('Starting up server: on port $port');
|
| 17 |
|
| 18 |
-
app.get('/
|
| 19 |
app.get('/text', (req, res) => 'Text response');
|
| 20 |
|
| 21 |
app.get('/json', (req, res) => {'json_response': true});
|
|
|
|
| 13 |
final app = Alfred();
|
| 14 |
|
| 15 |
// print line
|
| 16 |
+
// print('Starting up server: on port $port');
|
| 17 |
|
| 18 |
+
app.get('/', (req, res) => {'json_response': true});
|
| 19 |
app.get('/text', (req, res) => 'Text response');
|
| 20 |
|
| 21 |
app.get('/json', (req, res) => {'json_response': true});
|