final shelf.Handler staticHandler = shelf_static.createStaticHandler(
config['server']['directory'],
defaultDocument: 'index.html',
serveFilesOutsidePath: true);
...
static serveApp(App app, shelf.Request request, [String path]) {
return app.staticHandler(
new shelf.Request('GET', Uri.parse(app.serverPath + '/')));
}
--
You received this message because you are subscribed to the Google Groups "Dart Server-side and Cloud Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud+un...@dartlang.org.
Visit this group at https://groups.google.com/a/dartlang.org/group/cloud/.