cyber/src/utils/getDomain.js
2025-02-14 23:16:09 +08:00

4 lines
131 B
JavaScript

export function getDomain() {
return window.location.hostname === 'localhost' ? 'mva-cyber.club' : window.location.hostname;
}