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
OCamlPro
osh
Commits
a139a8cb
Unverified
Commit
a139a8cb
authored
Sep 23, 2021
by
zapashcanon
Browse files
add missing title
parent
a023a657
Pipeline
#15551
failed with stages
in 4 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/server.ml
src/server.ml
+2
-1
No files found.
src/server.ml
View file @
a139a8cb
...
...
@@ -19,7 +19,8 @@ let () =
match
page
"index"
with
|
None
->
Dream
.
empty
`Not_Found
|
Some
content
->
Dream
.
html
(
Template
.
render_unsafe
~
title
:
"title"
~
content
)
)
Dream
.
html
(
Template
.
render_unsafe
~
title
:
"Osh by OCamlPro"
~
content
)
)
;
Dream
.
get
"/badge"
(
fun
request
->
Dream
.
respond
~
headers
:
[
(
"Content-Type"
,
"image/svg+xml"
)
]
...
...
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