내부 네트워크에서 api 접근 가능하도록 ip 수정
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user