Newer
Older
/**
* This is a class that contains all constant values, it help to make change on address or ports or other things.
*/
const SEVER_IP = location.hostname;
const SERVER_PORT = 8081;
const Server_URL =
location.protocol + "//" + SEVER_IP + ":" + SERVER_PORT + "/";
export { SEVER_IP, SERVER_PORT, Server_URL };
/*
Change logs:
Date | Author | Description
2022-10-12 | Fangzheng Zhang | create class and init
2022-10-17 | Fangzheng Zhang | Change to TS