tiny cleanup

This commit is contained in:
Samuel Andert 2023-08-22 09:52:12 +02:00
parent d91e0b7b6e
commit 743eeefdbb
6 changed files with 3 additions and 7 deletions

View File

@ -6,20 +6,20 @@ sources:
handler:
openapi:
endpoint: https://git.andert.me/api/v1
source: schema/gitea.yml
source: schemas/gitea.yml
operationHeaders:
Authorization: Bearer {env.GITEA_API}
- name: Directus
handler:
graphql:
endpoint: https://directus.andert.me/graphql
source: schema/directus.graphql
source: schemas/directus.graphql
operationHeaders:
Authorization: Bearer {env.DIRECTUS_API}
# - name: Cloudron
# handler:
# openapi:
# endpoint: https://my.andert.me/api/v1
# source: schema/cloudron.json
# source: schemas/cloudron.json
# operationHeaders:
# Authorization: Bearer {env.CLOUDRON_API}

View File

@ -1,10 +1,6 @@
import { useGenericAuth } from '@envelop/generic-auth'
import { MeshPlugin } from '@graphql-mesh/types'
const path = require('path');
require('dotenv').config({ path: path.resolve(__dirname, '../.env.local') });
type UserType = {
id: string
}