switch between cdn and local

need this for offline development