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
383
Merge Requests
66
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
e45fe9d0
Commit
e45fe9d0
authored
28 minutes ago
by
Ben Hayward
Browse files
Options
Download
Unneeded additon
parent
2c98c6a6
feat/group-mature-filter-2402
1 merge request
!768
Group explicit overlay #2402
Pipeline
#115652872
failed with stages
in 11 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
proxy.conf.js
deleted
100644 → 0
View file @
2c98c6a6
const
engineSecure
=
Boolean
(
parseInt
(
process
.
env
[
'
ENGINE_SECURE
'
])
||
0
);
const
engineHost
=
process
.
env
[
'
ENGINE_HOST
'
]
||
'
localhost
'
;
const
enginePort
=
process
.
env
[
'
ENGINE_PORT
'
]
||
(
engineSecure
?
443
:
80
);
const
PROXY_CONFIG
=
[
{
context
:
[
'
/api
'
,
'
/fs
'
,
'
/icon
'
,
'
/carousel
'
,
],
target
:
{
protocol
:
engineSecure
?
'
https:
'
:
'
http:
'
,
host
:
engineHost
,
port
:
enginePort
,
},
secure
:
false
,
changeOrigin
:
true
,
withCredentials
:
true
,
logLevel
:
process
.
env
[
'
PROXY_LOG_LEVEL
'
]
||
'
warn
'
,
}
];
module
.
exports
=
PROXY_CONFIG
;
This diff is collapsed.
Please
register
or
sign in
to comment