커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
4-4 onclick 실행은 되지만, console창에 계속해서 오류가 뜹니다.
undefined주차
북마크
원*기
댓글
1
추천
0
조회수
6
조회수
6
답변 완료

Ajax 버전이 문제인가 싶어 전에 작성했던 버전으로 바꿔도 봤지만 동일한 오류가 확인되었습니다.


onclick 시 콘솔창에 찍히지만, 오류가 함께 뜹니다.


콘솔 창에 아래와 같은 오류가 뜹니다.

Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.



py프로그램 내에서도 아래와 같은 창이 뜨는데, 맞나요?

C:\Users\User\Desktop\sparta\projects\prac\venv\Scripts\python.exe C:\Users\User\Desktop\sparta\projects\prac\app.py 

 * Serving Flask app 'app'

 * Debug mode: on

WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

 * Running on all addresses (0.0.0.0)

 * Running on http://127.0.0.1:5000

 * Running on http://192.168.35.225:5000

Press CTRL+C to quit

 * Restarting with stat

 * Debugger is active!

 * Debugger PIN: 184-196-589

127.0.0.1 - - [28/Dec/2022 16:17:51] "GET / HTTP/1.1" 200 -

봄날은간다

127.0.0.1 - - [28/Dec/2022 16:18:02] "GET /test?title_give=봄날은간다 HTTP/1.1" 200 -

127.0.0.1 - - [28/Dec/2022 16:24:31] "GET /test?title_give=봄날은간다 HTTP/1.1" 200 -

봄날은간다

봄날은간다

127.0.0.1 - - [28/Dec/2022 16:24:37] "GET /test?title_give=봄날은간다 HTTP/1.1" 200 -

취소
 공유
취소
댓글 0
댓글 알림
나의얼굴