Compare commits

..

2 Commits

Author SHA1 Message Date
chyoo 86e4330066 merge develop into release
ci/woodpecker/push/woodpecker Pipeline failed
2026-07-07 15:51:55 +09:00
chyoo 5a73197062 fix docker build for vendored page agent
ci/woodpecker/push/woodpecker Pipeline failed
2026-07-07 15:51:51 +09:00
2 changed files with 19 additions and 18 deletions
+1
View File
@@ -2,6 +2,7 @@ FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
COPY vendor/page-agent ./vendor/page-agent
RUN npm ci
COPY . .
+2 -2
View File
@@ -17,7 +17,7 @@ function createPageAgent() {
${adminGuide}`
},
customFetch: (input, init) => {
customFetch: (input: RequestInfo | URL, init?: RequestInit) => {
const token = localStorage.getItem('studio-admin-token');
return fetch(input, {
...init,
@@ -27,7 +27,7 @@ ${adminGuide}`
}
});
}
});
});
}
let pageAgent = createPageAgent();