Browse Source

add configurations for the authorization process

Sven Czarnian 1 year ago
parent
commit
80cdb2b47d
1 changed files with 6 additions and 0 deletions
  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:
   host: 'localhost'
   port: 27017
   name: 'aman'
+frontend:
+  base-url: 'http://localhost:3001'
+  login-endpoint: 'auth'
 vatsim-auth:
   base-url: 'https://auth-dev.vatsim.net'
   token-endpoint: 'oauth/token'