• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

restFront.html을 브라우져에 띄우면 에러가 나여 에러 내용은 Failed to load file:///C:/users: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 인데 이게 무슨 에러인가여?

18.10.28 13:22 작성 조회수 158

0

restFront.html을 브라우져에 띄우면 에러가 나여

에러 내용은

Failed to load file:///C:/users: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

인데 이게 무슨 에러인가여?

답변 1

답변을 작성해보세요.

0

restFront.html은 파일을 직접 실행하시면 안 되고, 웹 주소를 통해서 들어가셔야 합니다. 추후 모든 html 파일이 공통입니다.