mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-19 02:59:57 +00:00
Shorten URLs
This commit is contained in:
parent
063ee6c119
commit
c2448a7e4e
@ -55,7 +55,7 @@ function generateNewRoom(req, res, id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
const id = shortid.generate() + shortid.generate();
|
const id = shortid.generate();
|
||||||
generateNewRoom(req, res, id);
|
generateNewRoom(req, res, id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user