Explorar el Código

add configurations for the authorization process

Sven Czarnian hace 2 años
padre
commit
80cdb2b47d
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      config/config.yaml

+ 6 - 0
config/config.yaml

@@ -1,7 +1,13 @@
+server:
+  base-url: 'http://localhost:3000'
+  jwt-secret: 'SECRET'
 database:
 database:
   host: 'localhost'
   host: 'localhost'
   port: 27017
   port: 27017
   name: 'aman'
   name: 'aman'
+frontend:
+  base-url: 'http://localhost:3001'
+  login-endpoint: 'auth'
 vatsim-auth:
 vatsim-auth:
   base-url: 'https://auth-dev.vatsim.net'
   base-url: 'https://auth-dev.vatsim.net'
   token-endpoint: 'oauth/token'
   token-endpoint: 'oauth/token'