7 lines
157 B
JavaScript
7 lines
157 B
JavaScript
|
import { MongoClient } from "mongodb";
|
||
|
|
||
|
const uri = process.env.NUXT_DB_URL
|
||
|
|
||
|
const client = new MongoClient(uri);
|
||
|
export const db = client.db('polarcraft')
|