diff --git a/packages/server/src/main.js b/packages/server/src/main.js index aa8b964..2be89a2 100644 --- a/packages/server/src/main.js +++ b/packages/server/src/main.js @@ -31,7 +31,7 @@ let data = {}; */ function createGuid() { - return randexp(/[0-9a-f]{8}(-[0-9a-f]){4}[0-9a-f]{8}/); + return randexp(/[0-9a-f]{8}(-[0-9a-f]{4}){4}[0-9a-f]{8}/); } app.use(express.static(join(dirname, "..", "..", "game", "lib", "static")));