function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anthony GrantAnthony Grant 

Check for /one/one.app in the URL via apex code.

Does anyone know if it is possible to check for /one/one.app in the URL via apex code?

I've tried the following but to no avail!

URL.getSalesforceBaseUrl().toExternalForm())
URL.getCurrentRequestUrl().toExternalForm()
URL.getCurrentRequestUrl().getPath()

I know I can do this via javascript but was wondering if it is possible using apex.

Thanks
Tony