Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Karaoke Mugen Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Karaoke Mugen
Karaoke Mugen Server
Commits
486137d5
Commit
486137d5
authored
Jun 20, 2020
by
Guillaume Lebigot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable HSTS since it's provided by webserver
parent
9bc5cd9e
Pipeline
#12064
passed with stage
in 1 minute and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/frontend.ts
src/frontend.ts
+3
-1
No files found.
src/frontend.ts
View file @
486137d5
...
...
@@ -45,7 +45,9 @@ export function initFrontend(listenPort: number) {
)
return
true
;
return
false
;
});
app
.
use
(
helmet
());
app
.
use
(
helmet
({
hsts
:
false
}));
app
.
use
(
compression
());
app
.
use
(
bodyParser
.
json
({
limit
:
'
1000mb
'
}));
// support json encoded bodies
app
.
use
(
bodyParser
.
urlencoded
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment