mirror of
https://github.com/azenla/AppleCache.git
synced 2026-07-18 18:07:21 +02:00
Fix problem with cache URL examples.
This commit is contained in:
+4
-7
@@ -4,16 +4,13 @@ import 'dart:io';
|
||||
|
||||
Future<void> main(List<String> args) async {
|
||||
var client = new HttpClient();
|
||||
var request = await client.postUrl(Uri.parse("https://lcdn-locator.apple.com/lcdn/locate"));
|
||||
var request = await client
|
||||
.postUrl(Uri.parse("https://lcdn-locator.apple.com/lcdn/locate"));
|
||||
request.writeln(json.encode({
|
||||
"ranked-results": true,
|
||||
"locator-tag": "#f5cfd4d0",
|
||||
"local-addresses": [
|
||||
args[0]
|
||||
],
|
||||
"public-address-ranges": [
|
||||
[]
|
||||
],
|
||||
"local-addresses": [args[0]],
|
||||
"public-address-ranges": [[]],
|
||||
"locator-software": [
|
||||
{
|
||||
"build": "19A578c",
|
||||
|
||||
Reference in New Issue
Block a user