Unverified Commit dca8d36d authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Change flutter create to use master-docs.flutter.io instead of firebase URL. (#25516)

Now that we have our DNS mapping we should refer to the master docs site that way everywhere.
parent b13eacc7
...@@ -187,7 +187,7 @@ class CreateCommand extends FlutterCommand { ...@@ -187,7 +187,7 @@ class CreateCommand extends FlutterCommand {
final String host = FlutterVersion.instance.channel == 'stable' final String host = FlutterVersion.instance.channel == 'stable'
? 'docs.flutter.io' ? 'docs.flutter.io'
: 'master-docs-flutter-io.firebaseapp.com'; : 'master-docs.flutter.io';
return utf8.decode(await fetchUrl(Uri.https(host, 'snippets/$sampleId.dart'))); return utf8.decode(await fetchUrl(Uri.https(host, 'snippets/$sampleId.dart')));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment