Index: runtime/bin/vmservice/server.dart |
diff --git a/runtime/bin/vmservice/server.dart b/runtime/bin/vmservice/server.dart |
index 8697e659259c0b7ddb3662e2aa17733c492fabb5..394315f4527c3e6f9bc4b735ba70757f09371bf0 100644 |
--- a/runtime/bin/vmservice/server.dart |
+++ b/runtime/bin/vmservice/server.dart |
@@ -136,12 +136,12 @@ class Server { |
return; |
} |
- var resource = Resource.resources[path]; |
- if (resource != null) { |
- // Serving up a static resource (e.g. .css, .html, .png). |
+ Asset asset = assets[path]; |
+ if (asset != null) { |
+ // Serving up a static asset (e.g. .css, .html, .png). |
request.response.headers.contentType = |
- ContentType.parse(resource.mimeType); |
- request.response.add(resource.data); |
+ ContentType.parse(asset.mimeType); |
+ request.response.add(asset.data); |
request.response.close(); |
return; |
} |