Skip to content

Commit

Permalink
fix: query & cf config
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickHeneise committed Nov 9, 2023
1 parent 6b6f2a0 commit 5bf2334
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/graphql/organization.query.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { gql } from '@solid-primitives/graphql'

export default {
gql: gql`
query ($organization: String!, $repository: String!) {
query ($organization: String!) {
organization(login: $organization) {
name
description
Expand All @@ -12,7 +12,6 @@ export default {
}
`,
vars: {
organization: process.env.GH_ORG,
repository: 'home'
organization: process.env.GH_ORG
}
}
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import solid from 'solid-start/vite'
import devtools from 'solid-devtools/vite'
import solidSvg from 'vite-plugin-solid-svg'
// import cloudflare from 'solid-start-cloudflare-workers'
import cloudflare from 'solid-start-cloudflare-pages'
// import cloudflare from 'solid-start-cloudflare-pages'

export default defineConfig({
plugins: [
Expand All @@ -16,7 +16,7 @@ export default defineConfig({
autoname: true // e.g. enable autoname
}),
solid({
adapter: cloudflare({})
// adapter: cloudflare({})
}),
solidSvg()
],
Expand Down

0 comments on commit 5bf2334

Please sign in to comment.