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
1b0e3b55
Unverified
Commit
1b0e3b55
authored
Sep 23, 2021
by
zapashcanon
Browse files
stop being dumb
parent
0ec6cf75
Pipeline
#15555
passed with stages
in 7 minutes and 48 seconds
Changes
1
Pipelines
1
Show 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 @
1b0e3b55
...
...
@@ -12,7 +12,8 @@ let page path =
|
Some
page
->
Some
(
Omd
.
of_string
page
|>
Omd
.
to_html
)
let
()
=
Dream
.
run
@@
Dream
.
logger
Dream
.
run
~
interface
:
"0.0.0.0"
@@
Dream
.
logger
@@
Dream
.
router
[
Dream
.
get
"/assets/**"
(
Dream
.
static
~
loader
:
asset_loader
""
)
;
Dream
.
get
"/"
(
fun
_request
->
...
...
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