Get rid of shared/api in Netlify functions

This commit is contained in:
Taevas 2025-03-02 14:37:13 +01:00
parent aecb5051ae
commit b4e060c954
12 changed files with 60 additions and 91 deletions

View file

@ -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!);