Index: sdk/lib/_internal/pub/lib/src/barback/server.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/barback/server.dart b/sdk/lib/_internal/pub/lib/src/barback/server.dart |
index 40d2c2cfce3bccfba5bc3d5b891b990be512c267..162c95277f41c4c5861b7a5bd3a5379de6a905c0 100644 |
--- a/sdk/lib/_internal/pub/lib/src/barback/server.dart |
+++ b/sdk/lib/_internal/pub/lib/src/barback/server.dart |
@@ -40,9 +40,6 @@ class BarbackServer { |
/// are available. |
final String rootDirectory; |
- /// The root directory as an asset-style ("/") path. |
- String get rootAssetPath => path.url.joinAll(path.split(rootDirectory)); |
- |
/// The server's port. |
final int port; |
@@ -50,7 +47,7 @@ class BarbackServer { |
final InternetAddress address; |
/// The server's base URL. |
- String get url => baseUrlForAddress(address, port); |
+ Uri get url => baseUrlForAddress(address, port); |
/// Optional callback to determine if an asset should be served. |
/// |