View Issue Details

IDProjectCategoryView StatusLast Update
0000023CAMAP/InterAMAP44CAMAPpublic2023-07-08 15:55
ReporterAmaury Assigned ToAmaury  
PriorityhighSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
PlatformGandiVPSOSDebianOS Version11
Product VersionPreprod 
Target VersionPreprodFixed in Versionv1 (Prod InterAMAP44) 
Summary0000023: Désactiver l'accès graphql en prod
Description

Désactiver l'accès à https://api.camap.amap44.org/graphql en prod

TagsNo tags attached.

Activities

Amaury

2023-05-12 12:15

administrator   ~0000024

Last edited: 2023-05-12 12:16

To: Amaury Cormier amaury.cormier@gmail.com From: "François Barbut" francois@alilo.fr Subject: question GraphQL

Hello

pour ta question sur comment désactiver le playground graphql en prod :

on peut voir ici qu'il faut set une var d'environnement NODE_ENV à "production" sur ton serveur avant de l'ancer l'app.

c'est géré ici :

https://github.com/CAMAP-APP/camap-ts/blob/master/packages/api-core/src/app.module.ts#L42

doc :

https://docs.nestjs.com/graphql/quick-start

Issue History

Date Modified Username Field Change
2023-05-12 12:15 Amaury New Issue
2023-05-12 12:15 Amaury Status new => assigned
2023-05-12 12:15 Amaury Assigned To => Amaury
2023-05-12 12:15 Amaury Note Added: 0000024
2023-05-12 12:16 Amaury Note Edited: 0000024
2023-05-12 12:16 Amaury Note Edited: 0000024
2023-05-12 12:16 Amaury Status assigned => resolved
2023-05-24 21:52 Amaury Target Version Preprod => v1 (Prod InterAMAP44)
2023-06-18 23:43 Amaury Fixed in Version => v1 (Prod InterAMAP44)
2023-06-18 23:43 Amaury Target Version v1 (Prod InterAMAP44) => Preprod
2023-07-08 15:55 Amaury Status resolved => closed
2023-07-08 15:55 Amaury Resolution open => fixed
2023-07-15 16:49 Amaury Category CAMAP Amap44 => CAMAP