mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-15 18:24:19 +00:00
12 lines
307 B
JavaScript
12 lines
307 B
JavaScript
// Copyright (c) Tribufu. All Rights Reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
import dotenv from 'dotenv';
|
|
import { TribufuServer } from '../build/index.mjs';
|
|
|
|
dotenv.config();
|
|
|
|
const server = TribufuServer.fromEnv("TRIBUFU");
|
|
const serverId = server.getServerId();
|
|
const clientId = server.getClientId();
|