Fixed URL prefix
This commit is contained in:
parent
2b5b0b8744
commit
c9ac940a27
2 changed files with 5 additions and 4 deletions
|
|
@ -80,8 +80,7 @@ CORS(app, resources=r"*")
|
|||
handler = JSONExceptionHandler(app)
|
||||
|
||||
# Attach lab devices
|
||||
labthing = LabThing(app)
|
||||
labthing.url_prefix = "/api/v2b"
|
||||
labthing = LabThing(app, prefix="/api/v2b")
|
||||
labthing.description = "Test LabThing-based API for OpenFlexure Microscope"
|
||||
|
||||
labthing.register_device(api_microscope, "openflexure_microscope")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue