mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Apply response defaults to top level pages
This commit is contained in:
parent
b665e100af
commit
53feb3c100
5 changed files with 26 additions and 1 deletions
|
|
@ -8,10 +8,15 @@
|
|||
// https://docs.astro.build/core-concepts/astro-components/
|
||||
|
||||
import { DoesItAPI } from '~/helpers/api/client.js'
|
||||
import {
|
||||
applyResponseDefaults
|
||||
} from '~/helpers/astro/request.js'
|
||||
|
||||
import Layout from '../layouts/default.astro'
|
||||
import SimpleList from '../components/simple-list.astro'
|
||||
|
||||
applyResponseDefaults( Astro )
|
||||
|
||||
const deviceIndex = await DoesItAPI.kind.device(1).get()
|
||||
|
||||
const kinds = deviceIndex.items.map( device => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue