Przeglądaj źródła

:bug: Fixed bug with cors on login

juan-filtering-match-pool
tomit4 2 lat temu
rodzic
commit
04e17c21f9
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      backend/lib/routes/user/login.js

+ 1
- 0
backend/lib/routes/user/login.js Wyświetl plik

@@ -31,6 +31,7 @@ module.exports = {
31 31
         ...pluginConfig.docs,
32 32
         tags: ['api'],
33 33
         auth: false,
34
+        cors: true,
34 35
         handler: async function (request, h) {
35 36
             try {
36 37
                 const { userService } = request.server.services()

Ładowanie…
Anuluj
Zapisz