From 293204e36a6ff4be70405c6746a04bb45fba3e60 Mon Sep 17 00:00:00 2001 From: Matt Griswold Date: Tue, 24 Dec 2024 05:06:57 +0000 Subject: [PATCH] head towards english --- docs/local_server.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/local_server.md b/docs/local_server.md index dcec088..b63c2f0 100644 --- a/docs/local_server.md +++ b/docs/local_server.md @@ -70,13 +70,13 @@ Once complete, you should should be able to go to `http://localhost:8000` in you ## 5. Using the Local PeeringDB -When your local PeeringDB is live, we commend just defining you can switch any scripts that normally do: +When your local PeeringDB is ready, you can use the new endpoint in place of the official PeeringDB endpoint. Depending on how your scripts are written, you may need to adjust the API endpoint they use. For example, if you have a script that hits the PeeringDB API, you might change the endpoint from: ```python # real endpoint -REAL_PEERINGDB_API_ENDPOINT = "https://api.peeringdb.com" +REAL_PEERINGDB_API_ENDPOINT = "https://www.peeringdb.com/api" # local endpoint LOCAL_PEERINGDB_API_ENDPOINT = "http://localhost:8000/api"