Skip to content

Commit 8b1e499

Browse files
committed
Add http plugin
1 parent 9fb4e31 commit 8b1e499

13 files changed

Lines changed: 751 additions & 276 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package fr.zelytra;
2+
3+
import jakarta.ws.rs.GET;
4+
import jakarta.ws.rs.Path;
5+
import jakarta.ws.rs.core.Response;
6+
7+
@Path("ping")
8+
public class Public {
9+
10+
@GET
11+
public Response get(){
12+
return Response.ok("Pong").build();
13+
}
14+
}

webapp/.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
VITE_BACKEND_HOST="https://10.0.2.2:8080"
1+
VITE_BACKEND_HOST="http://10.0.2.2:8080"
22
VITE_KEYCLOAK_HOST="http://10.0.2.2:24904/auth"
33
VITE_VERSION=$npm_package_version

webapp/package-lock.json

Lines changed: 283 additions & 233 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webapp/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@
1414
"tauri-android-dev": "npm run tauri android dev"
1515
},
1616
"dependencies": {
17+
"@tauri-apps/api": "^2.0.0-rc.0",
18+
"@tauri-apps/plugin-http": "^2.0.0-rc.0",
1719
"@types/matter-js": "^0.19.6",
1820
"axios": "^1.7.2",
19-
"@tauri-apps/api": "^1.5.6",
20-
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v2",
2121
"drag-drop-touch": "^1.3.1",
2222
"keycloak-js": "^25.0.1",
2323
"matter-js": "^0.20.0",
2424
"mitt": "^3.0.1",
2525
"pinia": "^2.1.7",
2626
"sass": "^1.77.6",
27+
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v2",
2728
"vue": "^3.4.31",
2829
"vue-i18n": "^9.13.1"
2930
},

0 commit comments

Comments
 (0)