catch (AppUrlChangeStrategyNotFoundException
$e) { throw new AppUrlChangeStrategyNotFoundHttpException($e);
} return new Response(null, Response::HTTP_NO_CONTENT
);
} #[Route(path: 'api/app-system/app-url-change/url-difference', name: 'api.app_system.app-url-difference', methods: ['GET'])]
public function getUrlDifference(): Response
{ try { $this->shopIdProvider->
getShopId();
} catch (AppUrlChangeDetectedException
$e) { return new JsonResponse( [ 'oldUrl' =>
$e->
getPreviousUrl(),
'newUrl' =>
$e->
getCurrentUrl(),
] );
} return new Response(null, Response::HTTP_NO_CONTENT
);
}}