File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { CodegenConfig } from '@graphql-codegen/cli' ;
22
33const config : CodegenConfig = {
4- schema : 'http://localhost:8080/query' ,
4+ schema : env . PLEXAMS_SERVER ,
55 // documents: ['src/**/*.graphql'],
66 generates : {
77 './src/lib/__generated__/graphql.ts' : {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export async function load({ params }) {
2323 }
2424 ` ;
2525
26- const workflowData = await request ( 'http://localhost:8080/query' , workflowQuery ) ;
26+ const workflowData = await request ( env . PLEXAMS_SERVER , workflowQuery ) ;
2727
2828 return {
2929 semester : semesterData . semester . id ,
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export async function load({ params }) {
103103 }
104104 ` ;
105105
106- const data = await request ( 'http://localhost:8080/query' , examGroupsWithoutSlotQuery ) ;
106+ const data = await request ( env . PLEXAMS_SERVER , examGroupsWithoutSlotQuery ) ;
107107
108108 return {
109109 semesterConfig : semesterData . semesterConfig ,
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ export async function load({ params }) {
126126 }
127127 ` ;
128128
129- const data = await request ( 'http://localhost:8080/query' , examsWithoutSlotQuery ) ;
129+ const data = await request ( env . PLEXAMS_SERVER , examsWithoutSlotQuery ) ;
130130
131131 let semesterConfig = semesterData . semesterConfig ;
132132
File renamed without changes.
You can’t perform that action at this time.
0 commit comments