From b1a796adb3cd0ff44b9898a9e018ea3fb391a29f Mon Sep 17 00:00:00 2001 From: Niklas Linnanen Date: Sun, 5 May 2024 12:11:15 +0000 Subject: [PATCH] Rename server endpoint folder --- src/server/{statistics => analytics}/middleware.ts | 0 src/server/{statistics/routes.ts => analytics/statistics.ts} | 0 src/server/index.ts | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename src/server/{statistics => analytics}/middleware.ts (100%) rename src/server/{statistics/routes.ts => analytics/statistics.ts} (100%) diff --git a/src/server/statistics/middleware.ts b/src/server/analytics/middleware.ts similarity index 100% rename from src/server/statistics/middleware.ts rename to src/server/analytics/middleware.ts diff --git a/src/server/statistics/routes.ts b/src/server/analytics/statistics.ts similarity index 100% rename from src/server/statistics/routes.ts rename to src/server/analytics/statistics.ts diff --git a/src/server/index.ts b/src/server/index.ts index 0defa9c..c896d12 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -1,6 +1,6 @@ import express from "express"; import { saveEntriesAsCSV } from "../entries"; -import statisticsRouter from "./statistics/routes"; +import statisticsRouter from "./analytics/statistics"; // biome-ignore lint/style/noNonNullAssertion: const port = Number.parseInt(process.env.PORT!);