fix
This commit is contained in:
2
.github/workflows/cloudflare-pages.yml
vendored
2
.github/workflows/cloudflare-pages.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '21'
|
node-version: '25'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ function _server_public() {
|
|||||||
|
|
||||||
function _oauth_build() {
|
function _oauth_build() {
|
||||||
cd $oauth
|
cd $oauth
|
||||||
nvm use 21
|
nvm use 25
|
||||||
npm i
|
npm i
|
||||||
npm run build
|
npm run build
|
||||||
rm -rf $myblog/static/assets
|
rm -rf $myblog/static/assets
|
||||||
@@ -86,7 +86,7 @@ function _oauth_build() {
|
|||||||
|
|
||||||
function _pds_build() {
|
function _pds_build() {
|
||||||
cd $pds
|
cd $pds
|
||||||
nvm use 21
|
nvm use 25
|
||||||
npm i
|
npm i
|
||||||
npm run build
|
npm run build
|
||||||
rm -rf $myblog/static/pds
|
rm -rf $myblog/static/pds
|
||||||
@@ -95,7 +95,7 @@ function _pds_build() {
|
|||||||
|
|
||||||
function _pds_server() {
|
function _pds_server() {
|
||||||
cd $pds
|
cd $pds
|
||||||
nvm use 21
|
nvm use 25
|
||||||
npm run preview
|
npm run preview
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ pub struct OAuthHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
|
#[allow(dead_code)]
|
||||||
pub struct AuthorizationRequest {
|
pub struct AuthorizationRequest {
|
||||||
pub response_type: String,
|
pub response_type: String,
|
||||||
pub client_id: String,
|
pub client_id: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user