Skip to content

Commit 325720e

Browse files
committed
[REF] update aw-webui submodule to include CORS settings
1 parent ecdc604 commit 325720e

4 files changed

Lines changed: 43 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ NDK
1111
*.db
1212
*.db-journal
1313

14-
15-
.vscode
14+
.vscode

.vscode/launch.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "lldb",
6+
"request": "launch",
7+
"name": "Debug aw-server",
8+
"cargo": {
9+
"args": ["run", "--bin", "aw-server", "--", "--webpath", "aw-webui/dist"],
10+
"filter": {
11+
"name": "aw-server",
12+
"kind": "bin"
13+
}
14+
},
15+
"env": {
16+
"PATH": "${env:HOME}/.cargo/bin:${env:PATH}"
17+
},
18+
"args": [],
19+
"cwd": "${workspaceFolder}",
20+
"preLaunchTask": "build-ui"
21+
}
22+
]
23+
}

.vscode/tasks.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build-ui",
6+
"type": "shell",
7+
"command": "npm run build",
8+
"options": {
9+
"cwd": "${workspaceFolder}/aw-webui"
10+
},
11+
"problemMatcher": [],
12+
"group": {
13+
"kind": "build",
14+
"isDefault": true
15+
}
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)