Get rid of shared/api
in Netlify functions
This commit is contained in:
parent
aecb5051ae
commit
b4e060c954
12 changed files with 60 additions and 91 deletions
|
@ -1,7 +1,7 @@
|
|||
import { UmamiInfo } from "#Infos/Website/Umami.js";
|
||||
import {type Handler} from "@netlify/functions";
|
||||
import { MongoClient } from "mongodb";
|
||||
import { Token } from "./umami_token.js";
|
||||
import { Token } from "./token.js";
|
||||
|
||||
const handler: Handler = async () => {
|
||||
const client = new MongoClient(process.env.URL_MONGODB!);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue