Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
68f52aa1
Commit
68f52aa1
authored
7 years ago
by
Klaus Klein
Browse files
Options
Downloads
Patches
Plain Diff
Remove error from http response
parent
e7e1243f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bigbluebutton-html5/imports/startup/client/intl.jsx
+4
-1
4 additions, 1 deletion
bigbluebutton-html5/imports/startup/client/intl.jsx
bigbluebutton-html5/imports/startup/server/index.js
+1
-2
1 addition, 2 deletions
bigbluebutton-html5/imports/startup/server/index.js
with
5 additions
and
3 deletions
bigbluebutton-html5/imports/startup/client/intl.jsx
+
4
−
1
View file @
68f52aa1
...
...
@@ -51,7 +51,10 @@ class IntlStartup extends Component {
return
response
.
json
();
})
.
then
((
messages
)
=>
{
this
.
setState
({
messages
},
()
=>
{
if
(
messages
.
statusCode
===
506
)
{
this
.
setState
({
appLocale
:
'
en
'
});
}
this
.
setState
({
messages
:
messages
.
messages
},
()
=>
{
baseControls
.
updateLoadingState
(
false
);
});
})
...
...
This diff is collapsed.
Click to expand it.
bigbluebutton-html5/imports/startup/server/index.js
+
1
−
2
View file @
68f52aa1
...
...
@@ -43,8 +43,7 @@ WebApp.connectHandlers.use('/locale', (req, res) => {
});
res
.
setHeader
(
'
Content-Type
'
,
'
application/json
'
);
res
.
writeHead
(
statusCode
);
res
.
end
(
JSON
.
stringify
(
messages
));
res
.
end
(
JSON
.
stringify
({
statusCode
,
messages
}));
});
WebApp
.
connectHandlers
.
use
(
'
/locales
'
,
(
req
,
res
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment