diff --git a/src/utils/gitVersion.ts b/src/utils/gitVersion.ts new file mode 100644 index 0000000..6ece4d0 --- /dev/null +++ b/src/utils/gitVersion.ts @@ -0,0 +1,3 @@ +import { execSync } from 'child_process'; + +export default execSync('git rev-parse HEAD', { encoding: 'utf8' }).slice(0, 8); \ No newline at end of file diff --git a/src/utils/modulus.ts b/src/utils/modulus.ts index dab7411..92a95bb 100644 --- a/src/utils/modulus.ts +++ b/src/utils/modulus.ts @@ -1,6 +1,6 @@ import Modulus from "../modules/modulus/src/index"; -let modulus = new Modulus('http://localhost'); -// let modulus = new Modulus(); +// let modulus = new Modulus('http://localhost'); +let modulus = new Modulus(); export default modulus \ No newline at end of file