Study/오류(3)
-
wsl 명령어가 안 될 때
> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart > dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
2023.01.24 -
ubuntu 설치 오류
The Windows Subsystem for Linux optional components is not enabled powershell 에서 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
2023.01.24 -
CORS
Cross-Origin Resource Sharing 처음 리소스를 제공한 도메인이 현재 요청하려는 도메인과 다르더라도 요청을 허락해 주는 웹 보안 방침. 프론트 서버 localhost:3000, 백엔드 서버 localhost:8080 으로 쓰고 있을 때 프론트 서버에서 백엔드에 데이터를 요구하지만 백엔드 서버에서는 요청의 Origin이 localhost:8080이 아닌 localhost:3000이기에 거부하게 된다. 백엔드에서 CORS 방침을 설정할 수 있는데 package com.example.demo.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.conf..
2023.01.12