graph/gallery app_env check to change wb.apiPath