On Wed, Dec 10, 2025 at 12:24 AM hung bui <[email protected]> wrote:

> Hi team,
>
> Currently we want to exempt the request from LNA policy,


I just want to make this clear: there is no way for the web site (or the
server) to exempt a request from LNA requirements. There is always going to
be a user choice in the golden path (be it from the user in front of the
browser, or the enterprise administrator managing the browser)


> and from what I understand is that we need to add a flag
> `targetAddressSpace` when making the request to our API server, for e.g: 
> *smoke.our-api.com
> <http://smoke.our-api.com>. *Then we need to add this inside the fetch
> option:
>
> fetch("http://*smoke.our-api.com/product
> <http://smoke.our-api.com/product>* ", {
>   targetAddressSpace: "local",
> });
>
> So, my questions are:
> 1. Is that `*local*` value correct? Or should I use another value?
>

Given that you are making a request to an http site, you will need to set
some value in targetAddressSpace to allow for mixed content bypassing. I
don't have enough information to know what the right value is here though,
as it depends on where the connection goes to. If it goes to the local
machine, you'd want to put in "loopback". If it goes to an IP in the local
address space (defined here
<https://wicg.github.io/local-network-access/#non-public-ip-address-blocks>),
then you'll want "local".

/hubert


> 2. Currently, we're using axios for making request in our application, is
> there any document for how to add that tag for the axios?
>

Sorry, I don't know anything about axios, so I can't help you there.
Our adoption
guide
<https://docs.google.com/document/d/1QQkqehw8umtAgz5z0um7THx-aoU251p705FbIQjDuGs/edit?usp=sharing>
is
a good general reference.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHEiSH10QUtBYviwhveyqJrrGCqbeG3uNxg5zZTFVr0otJQKOg%40mail.gmail.com.

Reply via email to