강의

멘토링

커뮤니티

Inflearn Community Q&A

terecal0050's profile image
terecal0050

asked

Node.js Textbook - From Basics to Project Practice

REST API concept and front code explanation

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

Written on

·

266

0

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

에러 내용은

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

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

javascriptmongodbmysqlnodejs

Answer 1

0

zerocho님의 프로필 이미지
zerocho
Instructor

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

terecal0050's profile image
terecal0050

asked

Ask a question