Skip to content

Commit

Permalink
chore: use wasm (#515)
Browse files Browse the repository at this point in the history
* chore: use wasm

* chore: update dependencies
  • Loading branch information
jsgalarraga authored May 23, 2024
1 parent e27a17c commit a22ecee
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy_app_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
channel: master
flutter-version: 3.22.0-41.0.pre
- run: flutter packages get
- run: flutter build web -t lib/main_development.dart --dart-define RECAPTCHA_KEY=${{ secrets.RECAPTCHA_KEY }} --wasm

Expand Down
15 changes: 15 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [
{
"source": "**",
"headers": [
{
"key": "Cross-Origin-Embedder-Policy",
"value": "credentialless"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
}
]
}
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1205,4 +1205,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.22.0"
flutter: ">=3.22.0-41.0.pre"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publish_to: none

environment:
sdk: ">=3.4.0 <4.0.0"
flutter: ">=3.22.0"
flutter: ">=3.22.0-41.0.pre"

dependencies:
api_client:
Expand Down

0 comments on commit a22ecee

Please sign in to comment.