From e61892e1a0021cebdc96d9fe8d7ad00b27ffe746 Mon Sep 17 00:00:00 2001 From: Frank Date: Mon, 26 Feb 2024 15:04:58 +0100 Subject: [PATCH] fix: graphql endpoint --- api/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/app.ts b/api/src/app.ts index 484d16d0..be5c13ad 100644 --- a/api/src/app.ts +++ b/api/src/app.ts @@ -35,7 +35,7 @@ export const createApp = (): Express => { '/explorer/:driveId?', (req, res) => { res.setHeader('Content-Type', 'text/html') - const endpoint = API_GQL_ENDPOINT + (req.params.driveId !== undefined ? `/d/${req.params.driveId}` : '/drives') + const endpoint = req.params.driveId !== undefined ? `/d/${req.params.driveId}` : '/drives' res.send(renderPlaygroundPage({ endpoint: endpoint, settings: {