Skip to content

Commit 40c23f9

Browse files
committed
Remove spurious slashes from example config JSON strings.
This was left-over old syntax that didn't get migrated.
1 parent c9bfd2e commit 40c23f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/tutorial/running_labthings.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Once you have activated the virtual environment, you should be able to run an ex
99

1010
.. code-block:: bash
1111
12-
labthings-server --json '{"things":{"/mything":"labthings_fastapi.example_things:MyThing"}}'
12+
labthings-server --json '{"things":{"mything":"labthings_fastapi.example_things:MyThing"}}'
1313
1414
This command will start a LabThings server, and will print the root URL for your server (by default, ``http://127.0.0.1:5000``). The ``127.0.0.1`` part means the server is only accessible from your computer, so you don't need to worry about other computers on your network accessing it.
1515

@@ -28,7 +28,7 @@ It is worth unpicking the command you ran to start the server: it has one argume
2828
2929
{
3030
"things": {
31-
"/mything": "labthings_fastapi.example_things:MyThing"
31+
"mything": "labthings_fastapi.example_things:MyThing"
3232
}
3333
}
3434

0 commit comments

Comments
 (0)