Skip to content

Commit 90df446

Browse files
committed
Add static web app config,
1 parent f59266c commit 90df446

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
with:
1818
submodules: true
1919
lfs: false
20-
- uses: actions/setup-node@v6
21-
with:
22-
node-version: 24
2320
- name: Install OIDC Client from Core Package
2421
run: npm install @actions/core@1.6.0 @actions/http-client
2522
- name: Get Id Token
@@ -43,5 +40,5 @@ jobs:
4340
app_build_command: "npm ci && npm run build" # App build command
4441
output_location: "dist/home-library/browser" # Built app content directory - optional
4542
api_location: "./api" # Api source code path - optional
46-
api_build_command: "dotnet build" # Api build command - optional
43+
api_build_command: "dotnet build" # Api build command - optional
4744
###### End of Repository/Build Configurations ######

ui/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"watch": "ng build --watch --configuration development",
99
"test": "ng test"
1010
},
11+
"engines": {
12+
"node": "^24.0.0"
13+
},
1114
"prettier": {
1215
"printWidth": 100,
1316
"singleQuote": true,

ui/staticwebapp.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"navigationFallback": {
3+
"rewrite": "index.html",
4+
"exclude": ["/*.{css,scss,js,png,jpg,gif,ico}"]
5+
}
6+
}

0 commit comments

Comments
 (0)