Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Fischer Pedersen
AIR
Commits
1975ec19
Commit
1975ec19
authored
Dec 22, 2021
by
Theis
Browse files
Fixed a compiler error in the server.js file
parent
e03d9e2b
Pipeline
#100678
passed with stage
in 4 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
web/api/server.js
View file @
1975ec19
...
@@ -17,11 +17,11 @@ app.use(express.json());
...
@@ -17,11 +17,11 @@ app.use(express.json());
app
.
use
(
express
.
urlencoded
({
extended
:
true
}));
app
.
use
(
express
.
urlencoded
({
extended
:
true
}));
var
corsOptions
=
{
var
corsOptions
=
{
origin
:
"
http://localhost:8081
"
;
origin
:
"
http://localhost:8081
"
};
};
/*var corsOptions = {
/*var corsOptions = {
origin: "https://air-app.azurewebsites.net"
;
origin: "https://air-app.azurewebsites.net"
};*/
};*/
const
log
=
bunyan
.
createLogger
({
name
:
"
AIR_UI_Backend:
"
});
const
log
=
bunyan
.
createLogger
({
name
:
"
AIR_UI_Backend:
"
});
...
...
Write
Preview
Supports
Markdown
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