updating projection debugging to use dynamic base URL instead of hardcoded