# Changing API Endpoint

Before using Huk VPN, you need to update the API endpoint in the source code:

1. Open the project in your Flutter development environment.
2. Navigate to `V2ray VPN/lib/helpers/config.dart`.
3. Locate the API endpoint variable and replace it with your server URL.
4. Save the file and rebuild the app.

<figure><img src="/files/RytS0tenC0FLW8Gc7EuM" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://orban-tech.gitbook.io/v2ray-vpn/app-guide/api-changes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
