Skip to content

Commit 252e42e

Browse files
authored
Pass a URI to package:http APIs (#2540)
Prepare for dart-lang/http#375
1 parent 21c46c6 commit 252e42e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/devtools_app/lib/src/survey.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class SurveyService {
1717

1818
static const _maxShowSurveyCount = 5;
1919

20-
static const _metadataUrl =
21-
'https://flutter.dev/f/dart-devtools-survey-metadata.json';
20+
static final _metadataUrl =
21+
Uri.https('flutter.dev', '/f/dart-devtools-survey-metadata.json');
2222

2323
/// Duration for which we should show the survey notification.
2424
///

0 commit comments

Comments
 (0)