Skip to content
Snippets Groups Projects
Commit f2c085cf authored by Francesco Pham's avatar Francesco Pham
Browse files

change resource directory and rd lookup path to the same used in eddie


Signed-off-by: default avatarFrancesco Pham <francesco.pham@huawei.com>
parent 22f3cecb
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,12 @@ async def main():
root = resource.Site()
context = await aiocoap.Context.create_server_context(root, multicast=multicast_interfaces)
StandaloneResourceDirectory.rd_path = ["rd"]
StandaloneResourceDirectory.ep_lookup_path = ["rd-lookup", "ep"]
StandaloneResourceDirectory.res_lookup_path = ["rd-lookup", "res"]
site = StandaloneResourceDirectory(context=context)
context.serversite = site
# Run forever
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment