Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
David Declerck
www
Commits
efe45c28
Unverified
Commit
efe45c28
authored
Aug 22, 2021
by
zapashcanon
Browse files
typo
parent
3a3c93f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/server.ml
src/server.ml
+1
-1
No files found.
src/server.ml
View file @
efe45c28
...
@@ -20,7 +20,7 @@ let () =
...
@@ -20,7 +20,7 @@ let () =
|
None
->
Dream
.
empty
`Not_Found
|
None
->
Dream
.
empty
`Not_Found
|
Some
content
->
|
Some
content
->
Dream
.
html
Dream
.
html
(
Template
.
render_unsafe
~
lang
:
"en
d
"
~
title
:
"title"
~
content
)
)
(
Template
.
render_unsafe
~
lang
:
"en"
~
title
:
"title"
~
content
)
)
;
Dream
.
get
"/:page"
(
fun
request
->
;
Dream
.
get
"/:page"
(
fun
request
->
match
page
(
Dream
.
param
"page"
request
)
with
match
page
(
Dream
.
param
"page"
request
)
with
|
None
->
Dream
.
empty
`Not_Found
|
None
->
Dream
.
empty
`Not_Found
...
...
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