mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
11 lines
352 B
TypeScript
11 lines
352 B
TypeScript
import dotenv from 'dotenv'
|
|
|
|
dotenv.config()
|
|
|
|
const USER_ID = process.env.USER_ID ?? ''
|
|
const USER_PASS = process.env.USER_PASS ?? ''
|
|
const SERVER_PORT = +(process.env.SERVER_PORT ?? '8080')
|
|
const BASE_PATH = process.env.BASE_PATH ?? ''
|
|
const API_ORIGIN = process.env.API_ORIGIN ?? ''
|
|
|
|
export { USER_ID, USER_PASS, SERVER_PORT, BASE_PATH, API_ORIGIN }
|