This commit is contained in:
hzrd149
2024-05-05 10:22:03 -05:00
parent 0da5efe283
commit 11f5f4bf9c
2 changed files with 3 additions and 3 deletions

View File

@@ -34,13 +34,14 @@ RUN echo '@edge https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/ap
RUN rm -rf /var/cache/apk/* /tmp/* /var/tmp/* RUN rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
ENV PATH="/node-v20.12.2/bin:$PATH" ENV PATH="/node-v20.12.2/bin:$PATH"
RUN npm install -g yarn@1.22
WORKDIR /app WORKDIR /app
COPY --from=builder /app/dist /usr/share/nginx/html COPY --from=builder /app/dist /usr/share/nginx/html
# copy server # copy server
COPY server/ /app/server/ COPY server/ /app/server/
RUN cd /app/server/ && npm install RUN cd /app/server/ && yarn install
# setup entrypoint # setup entrypoint
ADD ./docker-entrypoint.sh docker-entrypoint.sh ADD ./docker-entrypoint.sh docker-entrypoint.sh

View File

@@ -141,8 +141,7 @@ export default function PrivacySettings() {
)} )}
{formState.errors.corsProxy && <FormErrorMessage>{formState.errors.corsProxy.message}</FormErrorMessage>} {formState.errors.corsProxy && <FormErrorMessage>{formState.errors.corsProxy.message}</FormErrorMessage>}
<FormHelperText> <FormHelperText>
This is used as a fallback ( to bypass CORS restrictions ) or to make connections to .onion and .i2p This is used as a fallback ( to bypass CORS restrictions ) or to make requests to .onion and .i2p domains
domains
<br /> <br />
This can either point to an instance of{" "} This can either point to an instance of{" "}
<Link href="https://github.com/Rob--W/cors-anywhere" isExternal color="blue.500"> <Link href="https://github.com/Rob--W/cors-anywhere" isExternal color="blue.500">