Return whether URL is pretty
This commit is contained in:
parent
9357e66ba4
commit
aad8c7cd14
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
|||
$url = new URL(base64_decode($_GET['url']));
|
||||
|
||||
$response['data'] = array(
|
||||
'url' => $url->getPretty()
|
||||
'url' => $url->getPretty(),
|
||||
'isPretty' => $url->isPretty(),
|
||||
);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue