소스 검색

:bug: Fixed bug with cors on login

juan-filtering-match-pool
tomit4 2 년 전
부모
커밋
04e17c21f9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      backend/lib/routes/user/login.js

+ 1
- 0
backend/lib/routes/user/login.js 파일 보기

@@ -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()

Loading…
취소
저장