Skip to content

Commit ae02eee

Browse files
committed
refactor(server): follow recommended project layout, put server in bin
- Put server in bin folder - See [this post](http://stackoverflow.com/questions/22380293/recommended-dart-proje ct-layout-for-public-private-app-server-and-or-test-fil/22380294#2238029 4) for details.
1 parent 1c60ace commit ae02eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chapter_06/server_simple_get_and_put.dart renamed to Chapter_06/bin/server_simple_get_and_put.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'dart:io';
22
import 'package:http_server/http_server.dart' show VirtualDirectory;
33

4-
final String PATH_TO_WEB_CONTENT = "web";
4+
final String PATH_TO_WEB_CONTENT = "../web";
55

66
void main() {
77
HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 3031).then((HttpServer server) {

0 commit comments

Comments
 (0)