add INSIGHT_APIPREFIX and INSIGHT_FRONTENDPREFIX