Skip to content

Commit

Permalink
Merge pull request #1704 from demergent-labs/fetch_file
Browse files Browse the repository at this point in the history
Fetch file
  • Loading branch information
lastmjs authored Mar 19, 2024
2 parents ca0eeaf + 4b5924d commit 401b802
Show file tree
Hide file tree
Showing 16 changed files with 4,631 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
"examples/ethers",
"examples/express",
"examples/fetch_ic",
"examples/file_protocol",
"examples/fs",
"examples/func_types",
"examples/guard_functions",
Expand Down
3 changes: 3 additions & 0 deletions examples/file_protocol/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.azle
.dfx
node_modules
24 changes: 24 additions & 0 deletions examples/file_protocol/dfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"canisters": {
"backend": {
"type": "custom",
"main": "src/backend.ts",
"candid": "src/backend.did",
"candid_gen": "http",
"build": "npx azle backend",
"wasm": ".azle/backend/backend.wasm",
"gzip": true,
"assets": [["src/assets", "assets"]],
"metadata": [
{
"name": "candid:service",
"path": "src/backend.did"
},
{
"name": "cdk:name",
"content": "azle"
}
]
}
}
}
Loading

0 comments on commit 401b802

Please sign in to comment.