feat: init
This commit is contained in:
19
.output/server/chunks/routes/api/v1/index.get.mjs
Normal file
19
.output/server/chunks/routes/api/v1/index.get.mjs
Normal file
@@ -0,0 +1,19 @@
|
||||
import { d as defineEventHandler, s as setHeader } from '../../../nitro/nitro.mjs';
|
||||
import { a as getAllRates } from '../../../_/vatRates.mjs';
|
||||
import 'node:http';
|
||||
import 'node:https';
|
||||
import 'node:events';
|
||||
import 'node:buffer';
|
||||
import 'node:fs';
|
||||
import 'node:path';
|
||||
import 'node:crypto';
|
||||
import 'node:url';
|
||||
|
||||
const index_get = defineEventHandler(async (event) => {
|
||||
const rates = await getAllRates();
|
||||
setHeader(event, "Cache-Control", "public, max-age=3600");
|
||||
return rates;
|
||||
});
|
||||
|
||||
export { index_get as default };
|
||||
//# sourceMappingURL=index.get.mjs.map
|
||||
Reference in New Issue
Block a user