mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
11 lines
287 B
JavaScript
11 lines
287 B
JavaScript
const cloudlink = require("../dist")
|
|
const random = require("corenode/dist/libs/random")
|
|
|
|
// create server
|
|
new cloudlink.Server({
|
|
autoInit: true,
|
|
id: runtime.args.id ?? random.generateName(),
|
|
})
|
|
|
|
new cloudlink.Client.createInterface("http://localhost:3010").then((client) => {
|
|
}) |