Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[enhance] _internal_: publish always about/opa in the internal part

  • Loading branch information...
commit c9594e3e95bca970c8126b546c780cd66405948b 1 parent 45d0b17
Mathieu Barbin authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  stdlib/core/web/server/server_private.opa
View
3  stdlib/core/web/server/server_private.opa
@@ -272,6 +272,7 @@ Server_private = {{
| css_parser -> export(winfo, provide_css)
| "src_code" -> export(winfo, AppSources.page())
| "null" -> export(winfo, Resource.raw_text(""))
+ | "about/opa" -> export(winfo, page_version)
| any=(.*) ->
do Log.warning("Server_private",
"This is an abnormal request to a non-existent internal resource."
@@ -438,4 +439,4 @@ Server_private = {{
*/
@opacapi Server_private_run_services = Server_private.run_services
-@opacapi Server_private_add_service = Server_private.add_service
+@opacapi Server_private_add_service = Server_private.add_service
Please sign in to comment.
Something went wrong with that request. Please try again.