1. location api: pathname

  2. workerlocation api: pathname