This repository has been archived on 2023-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
scripts-old/src/utils/getCurrentServer.js

2 lines
57 B
JavaScript

export default () => window.location.host.split('.')[0];