fix docker build for vendored page agent
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-07-07 15:51:51 +09:00
parent c2741ab9f9
commit 5a73197062
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 . .
+1 -1
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,