Skip to content

Commit

Permalink
Merge pull request #1115 from NASA-AMMOS/fix/add-empty-endpoint-seq-s…
Browse files Browse the repository at this point in the history
…erver

Add '/' Endpoint to Sequencing Server Whitelist
  • Loading branch information
Mythicaeda authored Aug 28, 2023
2 parents 2441993 + ed92dfe commit 8aa69cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sequencing-server/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ app.use('/command-expansion', commandExpansionRouter);
app.use('/seqjson', seqjsonRouter);

app.get('/', (_: Request, res: Response) => {
res.send('Aerie Command Service');
res.send('Aerie Sequencing Service');
});

app.get('/health', (_: Request, res: Response) => {
Expand Down
1 change: 1 addition & 0 deletions sequencing-server/src/utils/hasura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const HASURA_PLAN_PERMISSIONS = [
* Endpoints that don't need any permission checking.
*/
export const ENDPOINTS_WHITELIST = new Set([
'/',
'/health',
'/get-command-typescript',
'/get-activity-typescript',
Expand Down

0 comments on commit 8aa69cc

Please sign in to comment.