Change channel api.js from absolute to relative