fix incorrect urls

This commit is contained in:
Steven Qiu 2020-04-02 17:15:22 +08:00
parent d192d3f8eb
commit f5fb0bfe4b
No known key found for this signature in database
GPG Key ID: 58D394980EEDB74C
2 changed files with 4 additions and 4 deletions

View File

@ -53,8 +53,8 @@ class PurgeCDN implements ShouldQueue
array_push(
$urls,
'/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid,
'/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid . 'unsigned?=false',
'/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid . 'unsigned=true'
'/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid . '?unsigned=false',
'/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid . '?unsigned=true'
);
}

View File

@ -36,8 +36,8 @@ return function (Dispatcher $events) {
array_push(
$urls,
$baseUrl . '/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid,
$baseUrl . '/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid . 'unsigned?=false',
$baseUrl . '/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid . 'unsigned=true');
$baseUrl . '/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid . '?unsigned=false',
$baseUrl . '/api/yggdrasil/sessionserver/session/minecraft/profile/' . $uuid . '?unsigned=true');
}
$apiBody = [