cpack_repository/commit

Turn server into LOD server for packages

authorJan Wielemaker
Sun Nov 21 11:35:04 2010 +0100
committerJan Wielemaker
Sun Nov 21 11:35:04 2010 +0100
commitf16daa03e5a464eda65603c08c556bcbca06e58d
tree352a61995439d9c322df3a02582b9b74cfbbb172
parent302293c30bb301df9191c41323ce9988056b40f9
Diff style: patch stat
diff --git a/config-available/cpack_server.pl b/config-available/cpack_server.pl
index 52e9529..c333624 100644
--- a/config-available/cpack_server.pl
+++ b/config-available/cpack_server.pl
@@ -1,5 +1,9 @@
 :- module(conf_cpack_server, []).
+:- use_module(library(http/http_dispatch)).
 :- use_module(api(cpack)).
+:- use_module(api(lod)).
 
 /** <module> Enable CPACK package services
 */
+
+:- http_handler('/packs/', lod_api([]), [prefix]).