From 56091a4869ca46549989a60bf0b5ba8ea2e6c272 Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 23 Nov 2023 14:24:44 +0100 Subject: [PATCH] Poke --- App/dev/stac/[...].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/dev/stac/[...].ts b/App/dev/stac/[...].ts index 81c335eaf..ae045b34c 100644 --- a/App/dev/stac/[...].ts +++ b/App/dev/stac/[...].ts @@ -3,7 +3,7 @@ import fs from 'node:fs/promises' export default defineEventHandler(async (event) => { let path = event.context.params?.['_'] - if (!path) throw new Error('No path provided') + if (!path) throw new Error('No path provided.') let json = await fs.readFile(`${process.cwd()}/../STAC/data/current/${path}`)