Skip to content
Snippets Groups Projects
Commit 03786115 authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: inc strict_local in build env

bugfix: version overlay
parent ac0bcfc8
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,9 @@ ENV BACKEND_URL=$BACKEND_URL
ARG USE_LOGO
ENV USE_LOGO=${USE_LOGO:-hbp}
ARG STRIC_LOCAL
ENV STRIC_LOCAL={STRIC_LOCAL:-false}
COPY . /iv
WORKDIR /iv
......
......@@ -106,8 +106,6 @@ if (LOCAL_CDN_FLAG) {
})
}
app.use(express.static(PUBLIC_PATH))
app.use((_req, res, next) => {
res.setHeader('Referrer-Policy', 'origin-when-cross-origin')
next()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment