Fix clientstate.ts link (#5436)

This commit is contained in:
Marcus Tillmanns
2023-08-29 15:39:05 +02:00
committed by GitHub
parent 5ff5f57d4c
commit 16d838186c

View File

@@ -270,7 +270,7 @@ If JSON is present in the request's `Accept` header, the compilation results are
### `POST /api/shortener` - saves given state _forever_ to a shortlink and returns the unique id for the link
The body of this post should be in the format of a
[ClientState](https://github.com/compiler-explorer/compiler-explorer/blob/main/lib/clientstate.js) Be sure that the
[ClientState](../lib/clientstate.ts) Be sure that the
Content-Type of your post is application/json
An example of one the easiest forms of a clientstate: