Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
402
Merge Requests
63
CI / CD
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
14293472
Commit
14293472
authored
5 hours ago
by
Mark Harding
Browse files
Options
Download
(fix): do not cache for different domains
parent
14445689
master
fix/homepage-seo
goal/local-infra
No related merge requests found
Pipeline
#116434144
passed with stages
in 54 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server.ts
View file @
14293472
...
...
@@ -112,7 +112,7 @@ const cache = () => {
.
filter
(
kv
=>
kv
[
0
]
!==
'
mwa
'
&&
kv
[
0
]
!==
'
XSRF-TOKEN
'
)
.
join
(
'
:
'
)
||
'
loggedout
'
;
const
key
=
`__express__/
${
sessKey
}
/`
+
`__express__/
${
req
.
headers
.
host
}
/
${
sessKey
}
/`
+
(
req
.
originalUrl
||
req
.
url
)
+
(
isMobileOrTablet
()
?
'
/mobile
'
:
'
/desktop
'
);
const
exists
=
myCache
.
has
(
key
);
...
...
This diff is collapsed.
Please
register
or
sign in
to comment