Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codegen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CodegenConfig } from '@graphql-codegen/cli';

const config: CodegenConfig = {
schema: 'http://localhost:8080/query',
schema: env.PLEXAMS_SERVER,
// documents: ['src/**/*.graphql'],
generates: {
'./src/lib/__generated__/graphql.ts': {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function load({ params }) {
}
`;

const workflowData = await request('http://localhost:8080/query', workflowQuery);
const workflowData = await request(env.PLEXAMS_SERVER, workflowQuery);

return {
semester: semesterData.semester.id,
Expand Down
2 changes: 1 addition & 1 deletion src/routes/plan/examGroups/+page.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export async function load({ params }) {
}
`;

const data = await request('http://localhost:8080/query', examGroupsWithoutSlotQuery);
const data = await request(env.PLEXAMS_SERVER, examGroupsWithoutSlotQuery);

return {
semesterConfig: semesterData.semesterConfig,
Expand Down
2 changes: 1 addition & 1 deletion src/routes/plan/exams/+page.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export async function load({ params }) {
}
`;

const data = await request('http://localhost:8080/query', examsWithoutSlotQuery);
const data = await request(env.PLEXAMS_SERVER, examsWithoutSlotQuery);

let semesterConfig = semesterData.semesterConfig;

Expand Down
File renamed without changes.