Fixes route for dev-deploy environment, Declare DEBUG_MODE constant