App proxy issue in theme extension

Developing a theme extension. When trying to call my API via proxy, it giving 404, no logs find on API server.

.toml file
[app_proxy]
url = “https://domain.com
subpath = “vir_ton”
prefix = “apps”

js file

const resp = await fetch(“/apps/vir_ton/get_token”, {
method: ‘POST’,
headers: { ‘Content-Type’: ‘application/json’ },
credentials: ‘same-origin’
});

Any idea to resolve the same