define BASE_URL in main.js