This commit is contained in:
@@ -2,6 +2,7 @@ FROM node:22-alpine AS builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
COPY vendor/page-agent ./vendor/page-agent
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ function createPageAgent() {
|
|||||||
|
|
||||||
${adminGuide}`
|
${adminGuide}`
|
||||||
},
|
},
|
||||||
customFetch: (input, init) => {
|
customFetch: (input: RequestInfo | URL, init?: RequestInit) => {
|
||||||
const token = localStorage.getItem('studio-admin-token');
|
const token = localStorage.getItem('studio-admin-token');
|
||||||
return fetch(input, {
|
return fetch(input, {
|
||||||
...init,
|
...init,
|
||||||
|
|||||||
Reference in New Issue
Block a user