Index: dart/sdk/lib/_internal/compiler/samples/leap/leap_server.dart |
diff --git a/dart/sdk/lib/_internal/compiler/samples/leap/leap_server.dart b/dart/sdk/lib/_internal/compiler/samples/leap/leap_server.dart |
index adf8cbc746ff71b4690b23ac4cd92b05deb64305..e4f281142491158c713cc3b4df0ed6743b735196 100644 |
--- a/dart/sdk/lib/_internal/compiler/samples/leap/leap_server.dart |
+++ b/dart/sdk/lib/_internal/compiler/samples/leap/leap_server.dart |
@@ -2,6 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+library leap_server; |
+ |
import 'dart:io'; |
class Conversation { |
@@ -39,7 +41,7 @@ class Conversation { |
String path = request.path; |
if (path == '/') return redirect('/$landingPage'); |
if (path == '/favicon.ico') { |
- path = '/lib/_internal/dartdoc/static/favicon.ico'; |
+ path = '/sdk/lib/_internal/dartdoc/static/favicon.ico'; |
} |
if (path.contains('..') || path.contains('%')) return notFound(); |
var f = new File("./$path"); |