diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index b928ad6c15f..aebba28f7e2 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -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 @@ -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: diff --git a/vercel.json b/vercel.json index f15487cfe26..1890a0f7dba 100644 --- a/vercel.json +++ b/vercel.json @@ -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",