"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const getLinkByEnv = (link) => {
    if (!link) {
        return '';
    }
    // @ts-ignore
    if (__DEV__) {
        return link.includes('#') ? `${link}` : `/#${link}`;
    }
    // @ts-ignore
    return link.includes('#') ? `${APP_CONFIG.slug}${link}` : `${APP_CONFIG.slug}/#${link}`;
};
exports.default = getLinkByEnv;
