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
403
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
5a0f0093
Commit
5a0f0093
authored
23 minutes ago
by
Mark Harding
Browse files
Options
Download
(chore): remove caching middleware to test OOM error
parent
37f6a355
master
chore/pm2-runtime
No related merge requests found
Pipeline
#116644481
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server.ts
View file @
5a0f0093
...
...
@@ -135,12 +135,12 @@ const cache = () => {
};
};
app
.
get
(
'
node-cache-stats
'
,
(
req
,
res
)
=>
{
app
.
get
(
'
/
node-cache-stats
'
,
(
req
,
res
)
=>
{
res
.
sendResponse
(
myCache
.
getStats
());
});
// All regular routes use the Universal engine
app
.
get
(
'
*
'
,
cache
(),
(
req
,
res
)
=>
{
app
.
get
(
'
*
'
,
(
req
,
res
)
=>
{
const
http
=
req
.
headers
[
'
x-forwarded-proto
'
]
===
undefined
?
'
http
'
...
...
This diff is collapsed.
Please
register
or
sign in
to comment