mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add toolbar autohide
This commit is contained in:
parent
2c2f15bfa9
commit
ef45cb87c9
8 changed files with 12 additions and 12 deletions
|
@ -10,10 +10,7 @@ export default {
|
|||
async function goUrl(request, url) {
|
||||
let fp = {
|
||||
method: request.method,
|
||||
headers: request.headers
|
||||
};
|
||||
fp.headers = new Headers(request.headers);
|
||||
for(var i = 2; i < arguments.length-1; i=i+2){
|
||||
fp.headers[arguments[i]] = arguments[i+1];
|
||||
}
|
||||
return await fetch(url, fp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue