Skip to content

Commit

Permalink
Poke
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBroersma committed Nov 23, 2023
1 parent c5eff39 commit 56091a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/dev/stac/[...].ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)

Expand Down

0 comments on commit 56091a4

Please sign in to comment.