mirror of
https://github.com/tribufu/tribufu-js
synced 2026-05-18 09:35:44 +00:00
Update examples
This commit is contained in:
parent
d743c1b53f
commit
81cabdd26c
4 changed files with 14 additions and 8 deletions
|
|
@ -1,10 +1,10 @@
|
|||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
|
||||
import dotenv from 'dotenv';
|
||||
import { TribufuServer } from '../build';
|
||||
import { TribufuServer } from '../build/index.mjs';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const server = TribufuServer.fromEnv();
|
||||
const server = TribufuServer.fromEnv("TRIBUFU");
|
||||
const serverId = server.getServerId();
|
||||
const clientId = server.getClientId();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue