mirror of https://github.com/thaldrin/thaldrin.git
fix modulus \ add git version util
This commit is contained in:
parent
8e9b1f37ca
commit
326b075349
|
@ -0,0 +1,3 @@
|
|||
import { execSync } from 'child_process';
|
||||
|
||||
export default execSync('git rev-parse HEAD', { encoding: 'utf8' }).slice(0, 8);
|
|
@ -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
|
Loading…
Reference in New Issue