Skip to content

Commit

Permalink
Bugfix/fix development environment (#590)
Browse files Browse the repository at this point in the history
* Adds generated gRPC stubs for latest version of library.

* Fixes dev server in new Vite frontend tool:
- set frontend server port to `3000`
- fixes proxy setting
  • Loading branch information
nwaldispuehl authored Feb 11, 2024
1 parent 9d93a31 commit fe59e78
Show file tree
Hide file tree
Showing 13 changed files with 1,914 additions and 1,820 deletions.
4 changes: 2 additions & 2 deletions proto/proto/buildinfo.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/proto/devices.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 17 additions & 10 deletions proto/proto/devices_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/proto/server.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions proto/proto/server_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/proto/users.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions proto/proto/users_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wg-access-server-website",
"scripts": {
"codegen": "node_modules/.bin/grpc-ts-web -o src/sdk ../proto/*.proto",
"start": "vite",
"start": "vite --port 3000",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prettier": "prettier ./src/**/*.{ts,tsx} --write"
Expand Down Expand Up @@ -50,7 +50,6 @@
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"proxy": "http://localhost:8000/api",
"browserslist": {
"production": [
">0.2%",
Expand Down
Loading

0 comments on commit fe59e78

Please sign in to comment.