feat: update container

This commit is contained in:
2022-07-23 13:03:43 +08:00
parent c40ac23cf5
commit 46b730e235
3 changed files with 15 additions and 9 deletions

View File

@@ -38,10 +38,14 @@ fn main() -> Result<()> {
let a = exports.eval_javascript(&mut store, r##"
function hi(name) { return "hi: " + name; }
let a = [];
a.push(fetch('https://hatter.ink/util/print_request.action'));
a.push(fetch('https://hatter.ink/ip.action'));
a.push(fetch('https://hatter.ink/util/print_request.action', {
headers: {
'Test-Header': 'this is a test header'
}
}));
// a.push(fetch('https://hatter.ink/ip.action'));
a.push(fetch('https://hatter.ink/ip/ip.jsonp'));
a.push(fetch('https://hatter.ink/ip2.action'));
// a.push(fetch('https://hatter.ink/ip2.action'));
a.push({
userId: 'id001',
name: 'Test',