Skip to content

Commit

Permalink
7. Final
Browse files Browse the repository at this point in the history
  • Loading branch information
Jongkook committed Oct 25, 2022
1 parent 3d5ec54 commit ace82f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/mongo.ts
@@ -1,5 +1,5 @@
import { MongoClient } from 'mongodb';
import { MONGO_URL } from '$env/static/private';
import { MONGO_URL } from '$lib/Env';

console.log('url >>> ' + MONGO_URL);
const client = new MongoClient(MONGO_URL);
Expand Down
1 change: 1 addition & 0 deletions src/lib/Env.js
@@ -0,0 +1 @@
export const MONGO_URL = import.meta.env.VITE_MONGO_URL;

1 comment on commit ace82f1

@vercel
Copy link

@vercel vercel bot commented on ace82f1 Oct 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sool – ./

sool-nu.vercel.app
sool-conquerex.vercel.app
sool-git-main-conquerex.vercel.app

Please sign in to comment.