aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/locations/+server.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-02 19:47:29 -0700
committerAdam Soltys <[email protected]>2022-11-02 19:48:18 -0700
commitf0d88333750a2865d3016e92620a87269160effa (patch)
tree1cc276efeb5287e1fc176ec60d46aed091ab08ca /src/routes/locations/+server.js
parentb66477f0912349ef91adaff8c57ac787b5a56447 (diff)
downloadcoinos-ui-f0d88333750a2865d3016e92620a87269160effa.tar.gz
coinos-ui-f0d88333750a2865d3016e92620a87269160effa.zip
move to app layout
Diffstat (limited to 'src/routes/locations/+server.js')
-rw-r--r--src/routes/locations/+server.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/routes/locations/+server.js b/src/routes/locations/+server.js
deleted file mode 100644
index 381919ab..00000000
--- a/src/routes/locations/+server.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import { get } from "$lib/utils";
-import { json } from '@sveltejs/kit';
-
-export async function GET({ fetch, setHeaders }) {
- setHeaders({ 'cache-control': 'public, max-age=600' });
- return json(await get('/locations'));
-}