mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
bingAI: supports cors with cookies
This commit is contained in:
parent
37e1fae65a
commit
ed2b96f46c
8 changed files with 25 additions and 18 deletions
|
@ -68,6 +68,11 @@
|
|||
</li>
|
||||
</ul>
|
||||
<p>which will make all git repositories on the domain visitable as websites with raw file access url.</p>
|
||||
<ul>
|
||||
<li>response headers, separeded by ';', Ex.:<br>
|
||||
Access-Control-Allow-Origin;*;Access-Control-Allow-Credentials;true mybing2.xn--xyza.top</li>
|
||||
</ul>
|
||||
<p>which makes "mybing2.xn--xyza.top" to accept CORS requests with cookies.</p>
|
||||
<p><a href="file:///data/data/info.torapp.uweb/files/default.hosts">"default.hosts"</a> blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.</p>
|
||||
<p>Each line of the hosts file has the following format:<br>
|
||||
[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]<br>
|
||||
|
@ -75,7 +80,7 @@ The first part [rootDomain] is required and the others are optional. regex is ja
|
|||
|
||||
</div>
|
||||
<p>Last Modified: 3 April 2023<br>
|
||||
enhance hosts file to add attributes to domains<br>
|
||||
bingAI to support cors with cookies<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue