Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Cherry Pick (#116)
Browse files Browse the repository at this point in the history
* chore: update gh actions nodejs version to 18

* config: disable ip forward in vercel json config

* Update vercel.json

* Update vercel.json

---------

Co-authored-by: Yidadaa <[email protected]>
  • Loading branch information
H0llyW00dzZ and Yidadaa authored Nov 17, 2023
1 parent 5c97542 commit 635977c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: get version
run: echo "PACKAGE_VERSION=$(node -p "require('./src-tauri/tauri.conf.json').package.version")" >> $GITHUB_ENV
- name: create release
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
Expand Down
4 changes: 2 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"headers": [
{
"key": "X-Real-IP",
"value": "$1"
"value": "$remote_addr"
},
{
"key": "X-Forwarded-For",
"value": "$1, $proxy_add_x_forwarded_for"
"value": "$proxy_add_x_forwarded_for"
},
{
"key": "Host",
Expand Down

0 comments on commit 635977c

Please sign in to comment.