내부 네트워크에서 api 접근 가능하도록 ip 수정

This commit is contained in:
김민구
2026-07-08 05:45:41 +09:00
parent 64f3408d4e
commit 6b9a072126
4 changed files with 15 additions and 4 deletions
+2 -2
View File
@@ -243,7 +243,7 @@ public class Player : MonoBehaviour
// 백엔드로부터 다음 세대 번호를 받아와 랜덤 이름과 매핑하는 코루틴
private System.Collections.IEnumerator GetNextGenerationFromServer()
{
string url = "http://127.0.0.1:8000/api/game/generation/next";
string url = "http://192.168.1.7:8000/api/game/generation/next";
using (UnityEngine.Networking.UnityWebRequest request = UnityEngine.Networking.UnityWebRequest.Get(url))
{
@@ -286,7 +286,7 @@ public class Player : MonoBehaviour
// 백엔드로 완성된 사망 기록을 전송하는 코루틴
private System.Collections.IEnumerator SendDeathReport(string cause)
{
string url = "http://127.0.0.1:8000/api/game/death";
string url = "http://192.168.1.7:8000/api/game/death";
AncestorDeathCreate requestData = new AncestorDeathCreate
{