mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-20 03:16:23 +00:00
Double shortid
This commit is contained in:
parent
7f0993182d
commit
f9d69c85bf
@ -53,7 +53,7 @@ function generateNewRoom(req, res, id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
const id = shortid.generate();
|
const id = shortid.generate() + shortid.generate();
|
||||||
generateNewRoom(req, res, id);
|
generateNewRoom(req, res, id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user