Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
OGC
i3s-server
Commits
8e019328
Commit
8e019328
authored
Apr 14, 2021
by
Athanasios
Browse files
Minor fix
parent
ccc5242c
Changes
1
Hide whitespace changes
Inline
Side-by-side
routes/scenelayers.js
View file @
8e019328
...
...
@@ -7,7 +7,7 @@ let router = express.Router();
router
.
route
(
"
/
"
).
get
((
req
,
res
)
=>
{
if
(
!
req
.
originalUrl
.
endsWith
(
"
/
"
)
&&
!
path
.
extname
(
req
.
u
rl
))
{
if
(
!
req
.
originalUrl
.
endsWith
(
"
/
"
)
&&
!
path
.
extname
(
req
.
originalU
rl
))
{
let
newUrl
=
url
.
format
({
protocol
:
req
.
protocol
,
host
:
req
.
get
(
"
host
"
),
...
...
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